org.fontbox.ttf

Class MaximumProfileTable


public class MaximumProfileTable
extends TTFTable

A table in a true type font.
Version:
$Revision: 1.1 $
Author:
Ben Litchfield (ben@benlitchfield.com)

Field Summary

static String
TAG
A tag that identifies this table type.

Method Summary

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()
void
initData(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)

Methods inherited from class org.fontbox.ttf.TTFTable

getCheckSum, getLength, getOffset, getTag, initData, setCheckSum, setLength, setOffset, setTag

Field Details

TAG

public static final String TAG
A tag that identifies this table type.

Method Details

getMaxComponentDepth

public int getMaxComponentDepth()
Returns:
Returns the maxComponentDepth.

getMaxComponentElements

public int getMaxComponentElements()
Returns:
Returns the maxComponentElements.

getMaxCompositeContours

public int getMaxCompositeContours()
Returns:
Returns the maxCompositeContours.

getMaxCompositePoints

public int getMaxCompositePoints()
Returns:
Returns the maxCompositePoints.

getMaxContours

public int getMaxContours()
Returns:
Returns the maxContours.

getMaxFunctionDefs

public int getMaxFunctionDefs()
Returns:
Returns the maxFunctionDefs.

getMaxInstructionDefs

public int getMaxInstructionDefs()
Returns:
Returns the maxInstructionDefs.

getMaxPoints

public int getMaxPoints()
Returns:
Returns the maxPoints.

getMaxSizeOfInstructions

public int getMaxSizeOfInstructions()
Returns:
Returns the maxSizeOfInstructions.

getMaxStackElements

public int getMaxStackElements()
Returns:
Returns the maxStackElements.

getMaxStorage

public int getMaxStorage()
Returns:
Returns the maxStorage.

getMaxTwilightPoints

public int getMaxTwilightPoints()
Returns:
Returns the maxTwilightPoints.

getMaxZones

public int getMaxZones()
Returns:
Returns the maxZones.

getNumGlyphs

public int getNumGlyphs()
Returns:
Returns the numGlyphs.

getVersion

public float getVersion()
Returns:
Returns the version.

initData

public void initData(TrueTypeFont ttf,
                     TTFDataStream data)
            throws IOException
This will read the required data from the stream.
Overrides:
initData in interface TTFTable
Parameters:
ttf - The font that is being read.
data - The stream to read the data from.

setMaxComponentDepth

public void setMaxComponentDepth(int maxComponentDepthValue)
Parameters:
maxComponentDepthValue - The maxComponentDepth to set.

setMaxComponentElements

public void setMaxComponentElements(int maxComponentElementsValue)
Parameters:
maxComponentElementsValue - The maxComponentElements to set.

setMaxCompositeContours

public void setMaxCompositeContours(int maxCompositeContoursValue)
Parameters:
maxCompositeContoursValue - The maxCompositeContours to set.

setMaxCompositePoints

public void setMaxCompositePoints(int maxCompositePointsValue)
Parameters:
maxCompositePointsValue - The maxCompositePoints to set.

setMaxContours

public void setMaxContours(int maxContoursValue)
Parameters:
maxContoursValue - The maxContours to set.

setMaxFunctionDefs

public void setMaxFunctionDefs(int maxFunctionDefsValue)
Parameters:
maxFunctionDefsValue - The maxFunctionDefs to set.

setMaxInstructionDefs

public void setMaxInstructionDefs(int maxInstructionDefsValue)
Parameters:
maxInstructionDefsValue - The maxInstructionDefs to set.

setMaxPoints

public void setMaxPoints(int maxPointsValue)
Parameters:
maxPointsValue - The maxPoints to set.

setMaxSizeOfInstructions

public void setMaxSizeOfInstructions(int maxSizeOfInstructionsValue)
Parameters:
maxSizeOfInstructionsValue - The maxSizeOfInstructions to set.

setMaxStackElements

public void setMaxStackElements(int maxStackElementsValue)
Parameters:
maxStackElementsValue - The maxStackElements to set.

setMaxStorage

public void setMaxStorage(int maxStorageValue)
Parameters:
maxStorageValue - The maxStorage to set.

setMaxTwilightPoints

public void setMaxTwilightPoints(int maxTwilightPointsValue)
Parameters:
maxTwilightPointsValue - The maxTwilightPoints to set.

setMaxZones

public void setMaxZones(int maxZonesValue)
Parameters:
maxZonesValue - The maxZones to set.

setNumGlyphs

public void setNumGlyphs(int numGlyphsValue)
Parameters:
numGlyphsValue - The numGlyphs to set.

setVersion

public void setVersion(float versionValue)
Parameters:
versionValue - The version to set.