[GX] Add new API hb_font_set_var_coords_normalized()

Will probably change.
diff --git a/src/hb-font.cc b/src/hb-font.cc
index 978e7dd..d27961d 100644
--- a/src/hb-font.cc
+++ b/src/hb-font.cc
@@ -1548,6 +1548,29 @@
 }
 
 
+void
+hb_font_set_var_coords_normalized (hb_font_t *font,
+				   int *coords, /* XXX 2.14 normalized */
+				   unsigned int coords_length)
+{
+  if (font->immutable)
+    return;
+
+  int *copy = (int *) calloc (coords_length, sizeof (coords[0]));
+  if (unlikely (!copy))
+    return;
+
+  if (font->x_coords)
+    free (font->x_coords);
+  if (font->y_coords && font->y_coords != font->x_coords)
+    free (font->y_coords);
+
+  memcpy (copy, coords, coords_length * sizeof (coords[0]));
+  font->x_coords = font->y_coords = copy;
+  font->num_coords = coords_length;
+}
+
+
 #ifndef HB_DISABLE_DEPRECATED
 
 /*
diff --git a/src/hb-font.h b/src/hb-font.h
index 2b6ab50..8813286 100644
--- a/src/hb-font.h
+++ b/src/hb-font.h
@@ -604,6 +604,11 @@
 		  unsigned int *y_ppem);
 
 
+HB_EXTERN void
+hb_font_set_var_coords_normalized (hb_font_t *font,
+				   int *coords, /* XXX 2.14 normalized */
+				   unsigned int coords_length);
+
 HB_END_DECLS
 
 #endif /* HB_FONT_H */