org.apache.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 StringTAG
A tag that identifies this table type.
Method Summary
intgetMaxComponentDepth()
intgetMaxComponentElements()
intgetMaxCompositeContours()
intgetMaxCompositePoints()
intgetMaxContours()
intgetMaxFunctionDefs()
intgetMaxInstructionDefs()
intgetMaxPoints()
intgetMaxSizeOfInstructions()
intgetMaxStackElements()
intgetMaxStorage()
intgetMaxTwilightPoints()
intgetMaxZones()
intgetNumGlyphs()
floatgetVersion()
voidinitData(TrueTypeFont ttf, TTFDataStream data)
This will read the required data from the stream.
voidsetMaxComponentDepth(int maxComponentDepthValue)
voidsetMaxComponentElements(int maxComponentElementsValue)
voidsetMaxCompositeContours(int maxCompositeContoursValue)
voidsetMaxCompositePoints(int maxCompositePointsValue)
voidsetMaxContours(int maxContoursValue)
voidsetMaxFunctionDefs(int maxFunctionDefsValue)
voidsetMaxInstructionDefs(int maxInstructionDefsValue)
voidsetMaxPoints(int maxPointsValue)
voidsetMaxSizeOfInstructions(int maxSizeOfInstructionsValue)
voidsetMaxStackElements(int maxStackElementsValue)
voidsetMaxStorage(int maxStorageValue)
voidsetMaxTwilightPoints(int maxTwilightPointsValue)
voidsetMaxZones(int maxZonesValue)
voidsetNumGlyphs(int numGlyphsValue)
voidsetVersion(float versionValue)

Field Detail

TAG

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

Method Detail

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)
This will read the required data from the stream.

Parameters: ttf The font that is being read. data The stream to read the data from.

Throws: IOException If there is an error reading the data.

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.

Copyright © 2008-2011 Apache Software Foundation. All Rights Reserved.