maxp
: Maximum Profile table
The maxp
table is an OpenType table.
- class fontTools.ttLib.tables._m_a_x_p.table__m_a_x_p(tag=None)[source]
Bases:
DefaultTable
Maximum Profile table
The
maxp
table contains the memory requirements for the data in the font.See also https://learn.microsoft.com/en-us/typography/opentype/spec/maxp
- dependencies = ['glyf']
- recalc(ttFont)[source]
Recalculate the font bounding box, and most other maxp values except for the TT instructions values. Also recalculate the value of bit 1 of the flags field and the font bounding box of the ‘head’ table.
- mergeMap = {'*': <built-in function max>, 'maxFunctionDefs': <function first>, 'maxInstructionDefs': <function first>, 'maxStorage': <function first>, 'numGlyphs': <built-in function sum>, 'tableTag': <function equal>, 'tableVersion': <function equal>}
- prune_pre_subset(font, options)