read_fonts::tables::postscript::charstring

Constant NESTING_DEPTH_LIMIT

source
pub const NESTING_DEPTH_LIMIT: u32 = 10;
Expand description

Maximum nesting depth for subroutine calls.

See “Appendix B Type 2 Charstring Implementation Limits” at https://adobe-type-tools.github.io/font-tech-notes/pdfs/5177.Type2.pdf#page=33