[var] Add hb_font_get_var_coords_normalized()
diff --git a/src/hb-font.cc b/src/hb-font.cc
index b91a35b..a8b9e4c 100644
--- a/src/hb-font.cc
+++ b/src/hb-font.cc
@@ -1565,6 +1565,16 @@
font->num_coords = coords_length;
}
+int *
+hb_font_get_var_coords_normalized (hb_font_t *font,
+ unsigned int *length)
+{
+ if (length)
+ *length = font->coords_length;
+
+ return font->coords;
+}
+
#ifndef HB_DISABLE_DEPRECATED
diff --git a/src/hb-font.h b/src/hb-font.h
index 8813286..5f22331 100644
--- a/src/hb-font.h
+++ b/src/hb-font.h
@@ -609,6 +609,10 @@
int *coords, /* XXX 2.14 normalized */
unsigned int coords_length);
+HB_EXTERN int *
+hb_font_get_var_coords_normalized (hb_font_t *font,
+ unsigned int *length);
+
HB_END_DECLS
#endif /* HB_FONT_H */