LibPDF: Increase argument stack for Type1FontPrograms

Type1 imposes a stack limit of 24 elements, but Type2 has a limit of 48.
We are better off relaxing the limit of the former in favour of properly
supporting the latter.
This commit is contained in:
Rodrigo Tobar 2023-02-26 14:46:27 +08:00 committed by Andreas Kling
commit 9bca62c5fa
Notes: sideshowbarker 2024-07-16 23:34:40 +09:00

View file

@ -74,7 +74,7 @@ protected:
Array<float, 14> flex_sequence; Array<float, 14> flex_sequence;
size_t sp { 0 }; size_t sp { 0 };
Array<float, 24> stack; Array<float, 48> stack;
u8 n_hints { 0 }; u8 n_hints { 0 };
size_t postscript_sp { 0 }; size_t postscript_sp { 0 };