[glyf/VarComposite] Minor rename
This commit is contained in:
parent
1e71db2d26
commit
a975be4c07
|
@ -356,7 +356,7 @@ struct Glyph
|
||||||
comp_points.reset ();
|
comp_points.reset ();
|
||||||
|
|
||||||
coord_setter_t coord_setter (font);
|
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 ())
|
if (unlikely (!glyf_accelerator.glyph_for_gid (item.get_gid ())
|
||||||
.get_points (font, glyf_accelerator, comp_points,
|
.get_points (font, glyf_accelerator, comp_points,
|
||||||
|
|
|
@ -226,8 +226,8 @@ struct VarCompositeGlyphRecord
|
||||||
translate (matrix, trans, -tCenterX, -tCenterY);
|
translate (matrix, trans, -tCenterX, -tCenterY);
|
||||||
}
|
}
|
||||||
|
|
||||||
void set_coordinates (coord_setter_t &setter,
|
void set_variations (coord_setter_t &setter,
|
||||||
hb_array_t<contour_point_t> axis_points) const
|
hb_array_t<contour_point_t> axis_points) const
|
||||||
{
|
{
|
||||||
unsigned axis_width = (flags & AXIS_INDICES_ARE_SHORT) ? 2 : 1;
|
unsigned axis_width = (flags & AXIS_INDICES_ARE_SHORT) ? 2 : 1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue