|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.font.format.xtf.tables.AbstractXtfTable
org.extex.font.format.xtf.tables.TtfTableMAXP
public class TtfTableMAXP
The 'maxp' table establishes the memory requirements for a 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 depth 2. |
| 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. |
| Constructor Summary | |
|---|---|
TtfTableMAXP(XtfTableMap tablemap,
XtfTableDirectory.Entry de,
RandomAccessR rar)
Create a new object. |
|
| Method Summary | |
|---|---|
int |
getMaxComponentDepth()
Returns the max component depth |
int |
getMaxComponentElements()
Returns the max component elements |
int |
getMaxCompositeContours()
Returns the max composite contours |
int |
getMaxCompositePoints()
Returns the max composite points |
int |
getMaxContours()
Returns the max contours |
int |
getMaxFunctionDefs()
Returns the max function defs |
int |
getMaxInstructionDefs()
Returns the max instruction defs |
int |
getMaxPoints()
Returns the max points |
int |
getMaxSizeOfInstructions()
Returns the max size of instructions |
int |
getMaxStackElements()
Returns the max stack elements |
int |
getMaxStorage()
Returns the max storage |
int |
getMaxTwilightPoints()
Returns the max twilight points |
int |
getMaxZones()
Returns the max zones |
int |
getNumGlyphs()
Returns the number of glyphs |
java.lang.String |
getShortcut()
Returns the table shortcut. |
int |
getType()
Get the table type, as a table directory value. |
int |
getVersion()
Returns the versionNumber. |
void |
writeXML(XMLStreamWriter writer)
Write the data to a XMLStreamWriter. |
| Methods inherited from class org.extex.font.format.xtf.tables.AbstractXtfTable |
|---|
getGlyphName, getInitOrder, getTableMap, init, writeStartElement |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.extex.font.format.xtf.tables.XtfTable |
|---|
getInitOrder, getTableMap, init |
| Constructor Detail |
|---|
public TtfTableMAXP(XtfTableMap tablemap,
XtfTableDirectory.Entry de,
RandomAccessR rar)
throws java.io.IOException
tablemap - the table mapde - directory entryrar - input
java.io.IOException - if an IO-error occurs| Method Detail |
|---|
public int getMaxComponentDepth()
public int getMaxComponentElements()
public int getMaxCompositeContours()
public int getMaxCompositePoints()
public int getMaxContours()
public int getMaxFunctionDefs()
public int getMaxInstructionDefs()
public int getMaxPoints()
public int getMaxSizeOfInstructions()
public int getMaxStackElements()
public int getMaxStorage()
public int getMaxTwilightPoints()
public int getMaxZones()
public int getNumGlyphs()
public java.lang.String getShortcut()
getShortcut in interface XtfTableXtfTable.getShortcut()public int getType()
getType in interface XtfTablepublic int getVersion()
public void writeXML(XMLStreamWriter writer)
throws java.io.IOException
writeXML in interface XMLWriterConvertiblewriter - the XML-Writer
java.io.IOException - if an IO-error occurs.XMLWriterConvertible.writeXML(
org.extex.util.xml.XMLStreamWriter)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||