[glyf/VarComposite] Minor rename

This commit is contained in:
Behdad Esfahbod committed 2022-12-09 14:45:29 -07:00
1 parent 1e71db2d26
commit a975be4c07
2 files changed
+3 -3

No files matched your search

+1 -1
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,
+2 -2
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;