[glyf/VarComposite] Minor rename

This commit is contained in:
Behdad Esfahbod 2022-10-18 11:00:35 -06:00
parent 1e71db2d26
commit a975be4c07
2 changed files with 3 additions and 3 deletions

View File

@ -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,

View File

@ -226,8 +226,8 @@ struct VarCompositeGlyphRecord
translate (matrix, trans, -tCenterX, -tCenterY);
}
void set_coordinates (coord_setter_t &setter,
hb_array_t<contour_point_t> axis_points) const
void set_variations (coord_setter_t &setter,
hb_array_t<contour_point_t> axis_points) const
{
unsigned axis_width = (flags & AXIS_INDICES_ARE_SHORT) ? 2 : 1;