Constant MAX_STACK

Source
const MAX_STACK: usize = 513;
Expand description

Maximum size of the operand stack.

“Operators in Top DICT, Font DICTs, Private DICTs and CharStrings may be preceded by up to a maximum of 513 operands.”

https://learn.microsoft.com/en-us/typography/opentype/spec/cff2#table-9-top-dict-operator-entries