[>64k:layout] Fix layout of RangeRecord

https://github.com/be-fonts/boring-expansion-spec/issues/30
This commit is contained in:
Behdad Esfahbod 2022-07-11 14:14:55 -06:00
parent 99f017f41d
commit df7eebf40a
1 changed files with 2 additions and 2 deletions

View File

@ -557,9 +557,9 @@ struct RangeRecord
typename Types::HBGlyphID first; /* First GlyphID in the range */
typename Types::HBGlyphID last; /* Last GlyphID in the range */
typename Types::HBUINT value; /* Value */
HBUINT16 value; /* Value */
public:
DEFINE_SIZE_STATIC (3 * Types::size);
DEFINE_SIZE_STATIC (2 + 2 * Types::size);
};
DECLARE_NULL_NAMESPACE_BYTES_TEMPLATE1 (OT, RangeRecord, 9);