From a975be4c072b4370ee5efad5409b0b88e818259d Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 18 Oct 2022 11:00:35 -0600 Subject: [PATCH] [glyf/VarComposite] Minor rename --- src/OT/glyf/Glyph.hh | 2 +- src/OT/glyf/VarCompositeGlyph.hh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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;