Constant ttf_parser::tables::gvar::MAX_STACK_TUPLES_LEN
source ยท const MAX_STACK_TUPLES_LEN: u16 = 32;
Expand description
The maximum number of variation tuples stored on the stack.
The TrueType spec allows up to 4095 tuples, which is way larger than we do. But in reality, an average font will have less than 10 tuples. We can avoid heap allocations if the number of tuples is less than this number.