From 2c67261723a9a3081ee89549b89a3409ac8306fb Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 6 Jul 2022 12:26:16 -0600 Subject: [PATCH] [open-type] Add HBGlyph24 --- src/hb-open-type.hh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/hb-open-type.hh b/src/hb-open-type.hh index 318c0fbe5..8e9a308ac 100644 --- a/src/hb-open-type.hh +++ b/src/hb-open-type.hh @@ -196,6 +196,10 @@ struct HBGlyphID16 : HBUINT16 { HBGlyphID16& operator = (uint16_t i) { HBUINT16::operator= (i); return *this; } }; +struct HBGlyphID24 : HBUINT24 +{ + HBGlyphID24& operator = (uint32_t i) { HBUINT24::operator= (i); return *this; } +}; /* Script/language-system/feature index */ struct Index : HBUINT16 {