[CFF] Increase max op num limit

This actually counts operands too, not just operators.
In a big variable-font design-space, each blend can easily take
a dozen ops or more. I was sent a font for which this limit
was hit. Increase by 20x for now.
This commit is contained in:
Behdad Esfahbod 2024-10-10 14:46:27 -06:00
parent 1a4bdd699a
commit ab36089924

View file

@ -101,7 +101,7 @@
#endif
#ifndef HB_CFF_MAX_OPS
#define HB_CFF_MAX_OPS 10000
#define HB_CFF_MAX_OPS 200000
#endif
#ifndef HB_MAX_COMPOSITE_OPERATIONS_PER_GLYPH