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. Both formats of OpenType require a 'maxp' table because a number of applications call the Windows GetFontData( ) API on the 'maxp' table to determine the number of glyphs in the font.
Type |
Name |
Description |
Fixed |
Table version number |
0x00010000 for version 1.0. |
USHORT |
numGlyphs |
The number of glyphs in the font. |
USHORT |
maxPoints |
Maximum points in a non-composite glyph. |
USHORT |
maxContours |
Maximum contours in a non-composite glyph. |
USHORT |
maxCompositePoints |
Maximum points in a composite glyph. |
USHORT |
maxCompositeContours |
Maximum contours in a composite glyph. |
USHORT |
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. |
USHORT |
maxTwilightPoints |
Maximum points used in Z0. |
USHORT |
maxStorage |
Number of Storage Area locations. |
USHORT |
maxFunctionDefs |
Number of FDEFs. |
USHORT |
maxInstructionDefs |
Number of IDEFs. |
USHORT |
maxStackElements |
Maximum stack depth2. |
USHORT |
maxSizeOfInstructions |
Maximum byte count for glyph instructions. |
USHORT |
maxComponentElements |
Maximum number of components referenced at "top level" for any composite glyph. |
USHORT |
maxComponentDepth |
Maximum levels of recursion; 1 for simple components. |