Microsoft Typography | Developer... | OpenType specification | OpenType tables | The maxp table


maxp - Maximum Profile

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.

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.)
USHORT numGlyphs The number of glyphs in the font.

Version 1.0

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.
2This includes Font and CVT Programs, as well as the instructions for each glyph.



this page was last updated 22 March 2001
© 2001 Microsoft Corporation. All rights reserved. Terms of use.
comments to the MST group: how to contact us.

 

Microsoft Typography | Developer... | OpenType specification | OpenType tables | The MAXP table