[ReverseChain] Add max-size

pull/4331/head
Behdad Esfahbod 1 year ago
parent 7a2f9dcfb9
commit e583c9e904
  1. 1
      src/OT/Layout/GSUB/ReverseChainSingleSubstFormat1.hh

@ -27,6 +27,7 @@ struct ReverseChainSingleSubstFormat1
* GlyphIDs--ordered by Coverage Index */
public:
DEFINE_SIZE_MIN (10);
DEFINE_SIZE_MAX (4 + 65536 * (2 * Offset16::static_size + HBGlyphID16::static_size));
bool sanitize (hb_sanitize_context_t *c) const
{

Loading…
Cancel
Save