maxp - Maximum Profile (OpenType 1.5)
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.) |
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.
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
OpenType specification