public class MaximumProfileTable extends TTFTable
Modifier and Type | Field and Description |
---|---|
private int |
maxComponentDepth |
private int |
maxComponentElements |
private int |
maxCompositeContours |
private int |
maxCompositePoints |
private int |
maxContours |
private int |
maxFunctionDefs |
private int |
maxInstructionDefs |
private int |
maxPoints |
private int |
maxSizeOfInstructions |
private int |
maxStackElements |
private int |
maxStorage |
private int |
maxTwilightPoints |
private int |
maxZones |
private int |
numGlyphs |
static java.lang.String |
TAG
A tag that identifies this table type.
|
private float |
version |
font, initialized
Constructor and Description |
---|
MaximumProfileTable(TrueTypeFont font) |
Modifier and Type | Method and Description |
---|---|
int |
getMaxComponentDepth() |
int |
getMaxComponentElements() |
int |
getMaxCompositeContours() |
int |
getMaxCompositePoints() |
int |
getMaxContours() |
int |
getMaxFunctionDefs() |
int |
getMaxInstructionDefs() |
int |
getMaxPoints() |
int |
getMaxSizeOfInstructions() |
int |
getMaxStackElements() |
int |
getMaxStorage() |
int |
getMaxTwilightPoints() |
int |
getMaxZones() |
int |
getNumGlyphs() |
float |
getVersion() |
(package private) void |
read(TrueTypeFont ttf,
TTFDataStream data)
This will read the required data from the stream.
|
void |
setMaxComponentDepth(int maxComponentDepthValue) |
void |
setMaxComponentElements(int maxComponentElementsValue) |
void |
setMaxCompositeContours(int maxCompositeContoursValue) |
void |
setMaxCompositePoints(int maxCompositePointsValue) |
void |
setMaxContours(int maxContoursValue) |
void |
setMaxFunctionDefs(int maxFunctionDefsValue) |
void |
setMaxInstructionDefs(int maxInstructionDefsValue) |
void |
setMaxPoints(int maxPointsValue) |
void |
setMaxSizeOfInstructions(int maxSizeOfInstructionsValue) |
void |
setMaxStackElements(int maxStackElementsValue) |
void |
setMaxStorage(int maxStorageValue) |
void |
setMaxTwilightPoints(int maxTwilightPointsValue) |
void |
setMaxZones(int maxZonesValue) |
void |
setNumGlyphs(int numGlyphsValue) |
void |
setVersion(float versionValue) |
getCheckSum, getInitialized, getLength, getOffset, getTag, setCheckSum, setLength, setOffset, setTag
public static final java.lang.String TAG
private float version
private int numGlyphs
private int maxPoints
private int maxContours
private int maxCompositePoints
private int maxCompositeContours
private int maxZones
private int maxTwilightPoints
private int maxStorage
private int maxFunctionDefs
private int maxInstructionDefs
private int maxStackElements
private int maxSizeOfInstructions
private int maxComponentElements
private int maxComponentDepth
MaximumProfileTable(TrueTypeFont font)
public int getMaxComponentDepth()
public void setMaxComponentDepth(int maxComponentDepthValue)
maxComponentDepthValue
- The maxComponentDepth to set.public int getMaxComponentElements()
public void setMaxComponentElements(int maxComponentElementsValue)
maxComponentElementsValue
- The maxComponentElements to set.public int getMaxCompositeContours()
public void setMaxCompositeContours(int maxCompositeContoursValue)
maxCompositeContoursValue
- The maxCompositeContours to set.public int getMaxCompositePoints()
public void setMaxCompositePoints(int maxCompositePointsValue)
maxCompositePointsValue
- The maxCompositePoints to set.public int getMaxContours()
public void setMaxContours(int maxContoursValue)
maxContoursValue
- The maxContours to set.public int getMaxFunctionDefs()
public void setMaxFunctionDefs(int maxFunctionDefsValue)
maxFunctionDefsValue
- The maxFunctionDefs to set.public int getMaxInstructionDefs()
public void setMaxInstructionDefs(int maxInstructionDefsValue)
maxInstructionDefsValue
- The maxInstructionDefs to set.public int getMaxPoints()
public void setMaxPoints(int maxPointsValue)
maxPointsValue
- The maxPoints to set.public int getMaxSizeOfInstructions()
public void setMaxSizeOfInstructions(int maxSizeOfInstructionsValue)
maxSizeOfInstructionsValue
- The maxSizeOfInstructions to set.public int getMaxStackElements()
public void setMaxStackElements(int maxStackElementsValue)
maxStackElementsValue
- The maxStackElements to set.public int getMaxStorage()
public void setMaxStorage(int maxStorageValue)
maxStorageValue
- The maxStorage to set.public int getMaxTwilightPoints()
public void setMaxTwilightPoints(int maxTwilightPointsValue)
maxTwilightPointsValue
- The maxTwilightPoints to set.public int getMaxZones()
public void setMaxZones(int maxZonesValue)
maxZonesValue
- The maxZones to set.public int getNumGlyphs()
public void setNumGlyphs(int numGlyphsValue)
numGlyphsValue
- The numGlyphs to set.public float getVersion()
public void setVersion(float versionValue)
versionValue
- The version to set.void read(TrueTypeFont ttf, TTFDataStream data) throws java.io.IOException