Package com.sun.pdfview.font.ttf
Class MaxpTable
java.lang.Object
com.sun.pdfview.font.ttf.TrueTypeTable
com.sun.pdfview.font.ttf.MaxpTable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intHolds value of property maxComponentContours.private intHolds value of property maxComponentDepth.private intHolds value of property maxComponentElements.private intHolds value of property maxComponentPoints.private intHolds value of property maxContours.private intHolds value of property maxFunctionDefs.private intHolds value of property maxInstructionDefs.private intHolds value of property maxPoints.private intHolds value of property maxSizeOfInstructions.private intHolds value of property maxStackElements.private intHolds value of property maxStorage.private intHolds value of property maxTwilightPoints.private intHolds value of property maxZones.private intHolds value of property numGlyphs.private intHolds value of property version.Fields inherited from class com.sun.pdfview.font.ttf.TrueTypeTable
CMAP_TABLE, GLYF_TABLE, HEAD_TABLE, HHEA_TABLE, HMTX_TABLE, LOCA_TABLE, MAXP_TABLE, NAME_TABLE, POST_TABLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetData()Get a buffer from the dataintGet the length of this tableintGetter for property maxComponentContours.intGetter for property maxComponentDepth.intGetter for property maxComponentElements.intGetter for property maxComponentPoints.intGetter for property maxContours.intGetter for property maxFunctionDefs.intGetter for property maxInstructionDefs.intGetter for property maxPoints.intGetter for property maxSizeOfInstructions.intGetter for property maxStackElements.intGetter for property maxStorage.intGetter for property maxTwilightPoints.intGetter for property maxZones.intGetter for property numGlyphs.intGetter for property version.voidsetData(ByteBuffer data) Set the values from datavoidsetMaxComponentContours(int maxComponentContours) Setter for property maxComponentContours.voidsetMaxComponentDepth(int maxComponentDepth) Setter for property maxComponentDepth.voidsetMaxComponentElements(int maxComponentElements) Setter for property maxComponentElements.voidsetMaxComponentPoints(int maxComponentPoints) Setter for property maxComponentPoints.voidsetMaxContours(int maxContours) Setter for property maxContours.voidsetMaxFunctionDefs(int maxFunctionDefs) Setter for property maxFunctionDefs.voidsetMaxInstructionDefs(int maxInstructionDefs) Setter for property maxInstructionDefs.voidsetMaxPoints(int maxPoints) Setter for property maxPoints.voidsetMaxSizeOfInstructions(int maxSizeOfInstructions) Setter for property maxSizeOfInstructions.voidsetMaxStackElements(int maxStackElements) Setter for property maxStackElements.voidsetMaxStorage(int maxStorage) Setter for property maxStorage.voidsetMaxTwilightPoints(int maxTwilightPoints) Setter for property maxTwilightPoints.voidsetMaxZones(int maxZones) Setter for property maxZones.voidsetNumGlyphs(int numGlyphs) Setter for property numGlyphs.voidsetVersion(int version) Setter for property version.toString()Create a pretty StringMethods inherited from class com.sun.pdfview.font.ttf.TrueTypeTable
createTable, createTable, getTag, stringToTag, tagToString
-
Field Details
-
version
private int versionHolds value of property version. -
numGlyphs
private int numGlyphsHolds value of property numGlyphs. -
maxPoints
private int maxPointsHolds value of property maxPoints. -
maxContours
private int maxContoursHolds value of property maxContours. -
maxComponentPoints
private int maxComponentPointsHolds value of property maxComponentPoints. -
maxComponentContours
private int maxComponentContoursHolds value of property maxComponentContours. -
maxZones
private int maxZonesHolds value of property maxZones. -
maxTwilightPoints
private int maxTwilightPointsHolds value of property maxTwilightPoints. -
maxStorage
private int maxStorageHolds value of property maxStorage. -
maxFunctionDefs
private int maxFunctionDefsHolds value of property maxFunctionDefs. -
maxInstructionDefs
private int maxInstructionDefsHolds value of property maxInstructionDefs. -
maxStackElements
private int maxStackElementsHolds value of property maxStackElements. -
maxSizeOfInstructions
private int maxSizeOfInstructionsHolds value of property maxSizeOfInstructions. -
maxComponentElements
private int maxComponentElementsHolds value of property maxComponentElements. -
maxComponentDepth
private int maxComponentDepthHolds value of property maxComponentDepth.
-
-
Constructor Details
-
MaxpTable
protected MaxpTable()Creates a new instance of MaxpTable
-
-
Method Details
-
setData
Set the values from data- Overrides:
setDatain classTrueTypeTable
-
getData
Get a buffer from the data- Overrides:
getDatain classTrueTypeTable
-
getLength
public int getLength()Get the length of this table- Overrides:
getLengthin classTrueTypeTable
-
getVersion
public int getVersion()Getter for property version.- Returns:
- Value of property version.
-
setVersion
public void setVersion(int version) Setter for property version.- Parameters:
version- New value of property version.
-
getNumGlyphs
public int getNumGlyphs()Getter for property numGlyphs.- Returns:
- Value of property numGlyphs.
-
setNumGlyphs
public void setNumGlyphs(int numGlyphs) Setter for property numGlyphs.- Parameters:
numGlyphs- New value of property numGlyphs.
-
getMaxPoints
public int getMaxPoints()Getter for property maxPoints.- Returns:
- Value of property maxPoints.
-
setMaxPoints
public void setMaxPoints(int maxPoints) Setter for property maxPoints.- Parameters:
maxPoints- New value of property maxPoints.
-
getMaxContours
public int getMaxContours()Getter for property maxContours.- Returns:
- Value of property maxContours.
-
setMaxContours
public void setMaxContours(int maxContours) Setter for property maxContours.- Parameters:
maxContours- New value of property maxContours.
-
getMaxComponentPoints
public int getMaxComponentPoints()Getter for property maxComponentPoints.- Returns:
- Value of property maxComponentPoints.
-
setMaxComponentPoints
public void setMaxComponentPoints(int maxComponentPoints) Setter for property maxComponentPoints.- Parameters:
maxComponentPoints- New value of property maxComponentPoints.
-
getMaxComponentContours
public int getMaxComponentContours()Getter for property maxComponentContours.- Returns:
- Value of property maxComponentContours.
-
setMaxComponentContours
public void setMaxComponentContours(int maxComponentContours) Setter for property maxComponentContours.- Parameters:
maxComponentContours- New value of property maxComponentContours.
-
getMaxZones
public int getMaxZones()Getter for property maxZones.- Returns:
- Value of property maxZones.
-
setMaxZones
public void setMaxZones(int maxZones) Setter for property maxZones.- Parameters:
maxZones- New value of property maxZones.
-
getMaxTwilightPoints
public int getMaxTwilightPoints()Getter for property maxTwilightPoints.- Returns:
- Value of property maxTwilightPoints.
-
setMaxTwilightPoints
public void setMaxTwilightPoints(int maxTwilightPoints) Setter for property maxTwilightPoints.- Parameters:
maxTwilightPoints- New value of property maxTwilightPoints.
-
getMaxStorage
public int getMaxStorage()Getter for property maxStorage.- Returns:
- Value of property maxStorage.
-
setMaxStorage
public void setMaxStorage(int maxStorage) Setter for property maxStorage.- Parameters:
maxStorage- New value of property maxStorage.
-
getMaxFunctionDefs
public int getMaxFunctionDefs()Getter for property maxFunctionDefs.- Returns:
- Value of property maxFunctionDefs.
-
setMaxFunctionDefs
public void setMaxFunctionDefs(int maxFunctionDefs) Setter for property maxFunctionDefs.- Parameters:
maxFunctionDefs- New value of property maxFunctionDefs.
-
getMaxInstructionDefs
public int getMaxInstructionDefs()Getter for property maxInstructionDefs.- Returns:
- Value of property maxInstructionDefs.
-
setMaxInstructionDefs
public void setMaxInstructionDefs(int maxInstructionDefs) Setter for property maxInstructionDefs.- Parameters:
maxInstructionDefs- New value of property maxInstructionDefs.
-
getMaxStackElements
public int getMaxStackElements()Getter for property maxStackElements.- Returns:
- Value of property maxStackElements.
-
setMaxStackElements
public void setMaxStackElements(int maxStackElements) Setter for property maxStackElements.- Parameters:
maxStackElements- New value of property maxStackElements.
-
getMaxSizeOfInstructions
public int getMaxSizeOfInstructions()Getter for property maxSizeOfInstructions.- Returns:
- Value of property maxSizeOfInstructions.
-
setMaxSizeOfInstructions
public void setMaxSizeOfInstructions(int maxSizeOfInstructions) Setter for property maxSizeOfInstructions.- Parameters:
maxSizeOfInstructions- New value of property maxSizeOfInstructions.
-
getMaxComponentElements
public int getMaxComponentElements()Getter for property maxComponentElements.- Returns:
- Value of property maxComponentElements.
-
setMaxComponentElements
public void setMaxComponentElements(int maxComponentElements) Setter for property maxComponentElements.- Parameters:
maxComponentElements- New value of property maxComponentElements.
-
getMaxComponentDepth
public int getMaxComponentDepth()Getter for property maxComponentDepth.- Returns:
- Value of property maxComponentDepth.
-
setMaxComponentDepth
public void setMaxComponentDepth(int maxComponentDepth) Setter for property maxComponentDepth.- Parameters:
maxComponentDepth- New value of property maxComponentDepth.
-
toString
Create a pretty String- Overrides:
toStringin classTrueTypeTable
-