From 85d0c3b5f1158eedc7ead3cae55adb026456352b Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 20 Apr 2023 17:17:28 -0600 Subject: [PATCH] [glyf] Comment --- src/OT/glyf/CompositeGlyph.hh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/OT/glyf/CompositeGlyph.hh b/src/OT/glyf/CompositeGlyph.hh index 662c1e03c..0cc43d500 100644 --- a/src/OT/glyf/CompositeGlyph.hh +++ b/src/OT/glyf/CompositeGlyph.hh @@ -253,6 +253,8 @@ struct CompositeGlyphRecord if (!(flags & GID_IS_24BIT) || gid > 0xFFFFu) return; + /* Lower the flag and move the rest of the struct down. */ + unsigned size = get_size (); char *end = (char *) this + size; char *p = &StructAfter (flags);