maxp — Maximum Profile (OpenType 1.8.1)
This table establishes the memory requirements for this font. Fonts with CFF data must use Version 0.5 of this table, specifying only the numGlyphs field. Fonts with TrueType outlines must use Version 1.0 of this table, where all data is required.
Version 0.5
Type | Name | Description |
---|---|---|
Fixed | Table version number | 0x00005000 for version 0.5
(Note the difference in the representation of a non-zero fractional part, in Fixed numbers.) |
uint16 | numGlyphs | The number of glyphs in the font. |
Version 1.0
Type | Name | Description |
---|---|---|
Fixed | Table version number | 0x00010000 for version 1.0. |
uint16 | numGlyphs | The number of glyphs in the font. |
uint16 | maxPoints | Maximum points in a non-composite glyph. |
uint16 | maxContours | Maximum contours in a non-composite glyph. |
uint16 | maxCompositePoints | Maximum points in a composite glyph. |
uint16 | maxCompositeContours | Maximum contours in a composite glyph. |
uint16 | maxZones | 1 if instructions do not use the twilight zone (Z0), or 2 if instructions do use Z0; should be set to 2 in most cases. |
uint16 | maxTwilightPoints | Maximum points used in Z0. |
uint16 | maxStorage | Number of Storage Area locations. |
uint16 | maxFunctionDefs | Number of FDEFs, equals to the highest function number + 1. |
uint16 | maxInstructionDefs | Number of IDEFs. |
uint16 | maxStackElements | Maximum stack depth2. |
uint16 | maxSizeOfInstructions | Maximum byte count for glyph instructions. |
uint16 | maxComponentElements | Maximum number of components referenced at “top level” for any composite glyph. |
uint16 | maxComponentDepth | Maximum levels of recursion; 1 for simple components. |
- 2 This includes Font and CVT Programs, as well as the instructions for each glyph.
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.
OpenType specification