maxp - Maximum Profile

This table establishes the memory requirements for this font. All data is required for a font with TrueType outlines. Fonts with CFF data must only fill the numGlyphs field. This is necessary because the 'maxp' table is not only used by the TrueType rasterizer, but also by a number of applications which call the Windows GetFontData( ) API on the 'maxp' table to determine the number of glyphs in the font.
Type NameDescription
FixedTable version number 0x00010000 for version 1.0.
USHORTnumGlyphs The number of glyphs in the font.
USHORTmaxPoints Maximum points in a non-composite glyph.
USHORTmaxContours Maximum contours in a non-composite glyph.
USHORTmaxCompositePoints Maximum points in a composite glyph.
USHORTmaxCompositeContours Maximum contours in a composite glyph.
USHORTmaxZones 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.
USHORTmaxTwilightPoints Maximum points used in Z0.
USHORTmaxStorage Number of Storage Area locations.
USHORTmaxFunctionDefs Number of FDEFs.
USHORTmaxInstructionDefs Number of IDEFs.
USHORTmaxStackElements Maximum stack depth2.
USHORTmaxSizeOfInstructions Maximum byte count for glyph instructions.
USHORTmaxComponentElements Maximum number of components referenced at "top level" for any composite glyph.
USHORTmaxComponentDepth Maximum levels of recursion; 1 for simple components.
  
2This includes Font and CVT Programs, as well as the instructions for each glyph.