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 int
Holds value of property maxComponentContours.private int
Holds value of property maxComponentDepth.private int
Holds value of property maxComponentElements.private int
Holds value of property maxComponentPoints.private int
Holds value of property maxContours.private int
Holds value of property maxFunctionDefs.private int
Holds value of property maxInstructionDefs.private int
Holds value of property maxPoints.private int
Holds value of property maxSizeOfInstructions.private int
Holds value of property maxStackElements.private int
Holds value of property maxStorage.private int
Holds value of property maxTwilightPoints.private int
Holds value of property maxZones.private int
Holds value of property numGlyphs.private int
Holds 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 dataint
Get the length of this tableint
Getter for property maxComponentContours.int
Getter for property maxComponentDepth.int
Getter for property maxComponentElements.int
Getter for property maxComponentPoints.int
Getter for property maxContours.int
Getter for property maxFunctionDefs.int
Getter for property maxInstructionDefs.int
Getter for property maxPoints.int
Getter for property maxSizeOfInstructions.int
Getter for property maxStackElements.int
Getter for property maxStorage.int
Getter for property maxTwilightPoints.int
Getter for property maxZones.int
Getter for property numGlyphs.int
Getter for property version.void
setData
(ByteBuffer data) Set the values from datavoid
setMaxComponentContours
(int maxComponentContours) Setter for property maxComponentContours.void
setMaxComponentDepth
(int maxComponentDepth) Setter for property maxComponentDepth.void
setMaxComponentElements
(int maxComponentElements) Setter for property maxComponentElements.void
setMaxComponentPoints
(int maxComponentPoints) Setter for property maxComponentPoints.void
setMaxContours
(int maxContours) Setter for property maxContours.void
setMaxFunctionDefs
(int maxFunctionDefs) Setter for property maxFunctionDefs.void
setMaxInstructionDefs
(int maxInstructionDefs) Setter for property maxInstructionDefs.void
setMaxPoints
(int maxPoints) Setter for property maxPoints.void
setMaxSizeOfInstructions
(int maxSizeOfInstructions) Setter for property maxSizeOfInstructions.void
setMaxStackElements
(int maxStackElements) Setter for property maxStackElements.void
setMaxStorage
(int maxStorage) Setter for property maxStorage.void
setMaxTwilightPoints
(int maxTwilightPoints) Setter for property maxTwilightPoints.void
setMaxZones
(int maxZones) Setter for property maxZones.void
setNumGlyphs
(int numGlyphs) Setter for property numGlyphs.void
setVersion
(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:
setData
in classTrueTypeTable
-
getData
Get a buffer from the data- Overrides:
getData
in classTrueTypeTable
-
getLength
public int getLength()Get the length of this table- Overrides:
getLength
in 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:
toString
in classTrueTypeTable
-