diff --git a/src/OT/glyf/Glyph.hh b/src/OT/glyf/Glyph.hh index 7ac31f898..b82cae895 100644 --- a/src/OT/glyf/Glyph.hh +++ b/src/OT/glyf/Glyph.hh @@ -356,7 +356,7 @@ struct Glyph comp_points.reset (); coord_setter_t coord_setter (font); - item.set_coordinates (coord_setter, record_points); + item.set_variations (coord_setter, record_points); if (unlikely (!glyf_accelerator.glyph_for_gid (item.get_gid ()) .get_points (font, glyf_accelerator, comp_points, diff --git a/src/OT/glyf/VarCompositeGlyph.hh b/src/OT/glyf/VarCompositeGlyph.hh index d3b9709f4..51e40bdbf 100644 --- a/src/OT/glyf/VarCompositeGlyph.hh +++ b/src/OT/glyf/VarCompositeGlyph.hh @@ -226,8 +226,8 @@ struct VarCompositeGlyphRecord translate (matrix, trans, -tCenterX, -tCenterY); } - void set_coordinates (coord_setter_t &setter, - hb_array_t axis_points) const + void set_variations (coord_setter_t &setter, + hb_array_t axis_points) const { unsigned axis_width = (flags & AXIS_INDICES_ARE_SHORT) ? 2 : 1;