From 0c1561894ac4899cd09ebef4b3d33a095e35c981 Mon Sep 17 00:00:00 2001 From: ebraminio Date: Mon, 10 Aug 2020 08:52:01 +0430 Subject: [PATCH] [glyf] minor --- src/hb-ot-glyf-table.hh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hb-ot-glyf-table.hh b/src/hb-ot-glyf-table.hh index 437aa816a..39dd58f83 100644 --- a/src/hb-ot-glyf-table.hh +++ b/src/hb-ot-glyf-table.hh @@ -274,8 +274,8 @@ struct glyf return size; } - void change_glyph_index (hb_codepoint_t new_gid) { glyphIndex = new_gid; } - hb_codepoint_t get_glyph_index () const { return glyphIndex; } + void set_glyph_index (hb_codepoint_t new_gid) { glyphIndex = new_gid; } + hb_codepoint_t get_glyph_index () const { return glyphIndex; } void drop_instructions_flag () { flags = (uint16_t) flags & ~WE_HAVE_INSTRUCTIONS; } bool has_instructions () const { return flags & WE_HAVE_INSTRUCTIONS; } @@ -1224,7 +1224,7 @@ struct glyf { hb_codepoint_t new_gid; if (plan->new_gid_for_old_gid (_.get_glyph_index (), &new_gid)) - const_cast (_).change_glyph_index (new_gid); + const_cast (_).set_glyph_index (new_gid); } if (plan->drop_hints) Glyph (dest_glyph).drop_hints ();