Top Description Fields Constructors Methods
org.apache.fontbox.ttf

public Class MaximumProfileTable

extends TTFTable
Class Inheritance
Imports
java.io.IOException

This 'maxp'-table is a required table in a TrueType font.
Author
Ben Litchfield

Field Summary

Modifier and TypeField and Description
private int
private int
private int
private int
private int
private int
private int
private int
private int
private int
private int
private int
private int
private int
public static final String
TAG

A tag that identifies this table type.

private float
Inherited from org.apache.fontbox.ttf.TTFTable:
initialized

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

Returns the maxComponentDepth.
getMaxComponentDepth
()

public int

Returns:

Returns the maxComponentElements.
getMaxComponentElements
()

public int

Returns:

Returns the maxCompositeContours.
getMaxCompositeContours
()

public int

Returns:

Returns the maxCompositePoints.
getMaxCompositePoints
()

public int

Returns:

Returns the maxContours.
getMaxContours
()

public int

Returns:

Returns the maxFunctionDefs.
getMaxFunctionDefs
()

public int

Returns:

Returns the maxInstructionDefs.
getMaxInstructionDefs
()

public int

Returns:

Returns the maxPoints.
getMaxPoints
()

public int

Returns:

Returns the maxSizeOfInstructions.
getMaxSizeOfInstructions
()

public int

Returns:

Returns the maxStackElements.
getMaxStackElements
()

public int

Returns:

Returns the maxStorage.
getMaxStorage
()

public int

Returns:

Returns the maxTwilightPoints.
getMaxTwilightPoints
()

public int

Returns:

Returns the maxZones.
getMaxZones
()

public int

Returns:

Returns the numGlyphs.
getNumGlyphs
()

public float

Returns:

Returns the version.
getVersion
()

pack-priv void
read(TrueTypeFont
The font that is being read.
ttf
,
TTFDataStream
The stream to read the data from.
data
)

Overrides org.apache.fontbox.ttf.TTFTable.read.

This will read the required data from the stream.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Inherited from org.apache.fontbox.ttf.TTFTable:
getCheckSumgetInitializedgetLengthgetOffsetgetTagreadHeaderssetCheckSumsetLengthsetOffsetsetTag

Field Detail

maxComponentDepthback to summary
private int maxComponentDepth
maxComponentElementsback to summary
private int maxComponentElements
maxCompositeContoursback to summary
private int maxCompositeContours
maxCompositePointsback to summary
private int maxCompositePoints
maxContoursback to summary
private int maxContours
maxFunctionDefsback to summary
private int maxFunctionDefs
maxInstructionDefsback to summary
private int maxInstructionDefs
maxPointsback to summary
private int maxPoints
maxSizeOfInstructionsback to summary
private int maxSizeOfInstructions
maxStackElementsback to summary
private int maxStackElements
maxStorageback to summary
private int maxStorage
maxTwilightPointsback to summary
private int maxTwilightPoints
maxZonesback to summary
private int maxZones
numGlyphsback to summary
private int numGlyphs
TAGback to summary
public static final String TAG

A tag that identifies this table type.

versionback to summary
private float version

Constructor Detail

MaximumProfileTableback to summary
pack-priv MaximumProfileTable()

Method Detail

getMaxComponentDepthback to summary
public int getMaxComponentDepth()
Returns:int

Returns the maxComponentDepth.

getMaxComponentElementsback to summary
public int getMaxComponentElements()
Returns:int

Returns the maxComponentElements.

getMaxCompositeContoursback to summary
public int getMaxCompositeContours()
Returns:int

Returns the maxCompositeContours.

getMaxCompositePointsback to summary
public int getMaxCompositePoints()
Returns:int

Returns the maxCompositePoints.

getMaxContoursback to summary
public int getMaxContours()
Returns:int

Returns the maxContours.

getMaxFunctionDefsback to summary
public int getMaxFunctionDefs()
Returns:int

Returns the maxFunctionDefs.

getMaxInstructionDefsback to summary
public int getMaxInstructionDefs()
Returns:int

Returns the maxInstructionDefs.

getMaxPointsback to summary
public int getMaxPoints()
Returns:int

Returns the maxPoints.

getMaxSizeOfInstructionsback to summary
public int getMaxSizeOfInstructions()
Returns:int

Returns the maxSizeOfInstructions.

getMaxStackElementsback to summary
public int getMaxStackElements()
Returns:int

Returns the maxStackElements.

getMaxStorageback to summary
public int getMaxStorage()
Returns:int

Returns the maxStorage.

getMaxTwilightPointsback to summary
public int getMaxTwilightPoints()
Returns:int

Returns the maxTwilightPoints.

getMaxZonesback to summary
public int getMaxZones()
Returns:int

Returns the maxZones.

getNumGlyphsback to summary
public int getNumGlyphs()
Returns:int

Returns the numGlyphs.

getVersionback to summary
public float getVersion()
Returns:float

Returns the version.

readback to summary
pack-priv void read(TrueTypeFont ttf, TTFDataStream data) throws IOException

Overrides org.apache.fontbox.ttf.TTFTable.read.

This will read the required data from the stream.

Parameters
ttf:TrueTypeFont

The font that is being read.

data:TTFDataStream

The stream to read the data from.

Annotations
@Override
Exceptions
IOException:
If there is an error reading the data.
setMaxComponentDepthback to summary
public void setMaxComponentDepth(int maxComponentDepthValue)
Parameters
maxComponentDepthValue:int

The maxComponentDepth to set.

setMaxComponentElementsback to summary
public void setMaxComponentElements(int maxComponentElementsValue)
Parameters
maxComponentElementsValue:int

The maxComponentElements to set.

setMaxCompositeContoursback to summary
public void setMaxCompositeContours(int maxCompositeContoursValue)
Parameters
maxCompositeContoursValue:int

The maxCompositeContours to set.

setMaxCompositePointsback to summary
public void setMaxCompositePoints(int maxCompositePointsValue)
Parameters
maxCompositePointsValue:int

The maxCompositePoints to set.

setMaxContoursback to summary
public void setMaxContours(int maxContoursValue)
Parameters
maxContoursValue:int

The maxContours to set.

setMaxFunctionDefsback to summary
public void setMaxFunctionDefs(int maxFunctionDefsValue)
Parameters
maxFunctionDefsValue:int

The maxFunctionDefs to set.

setMaxInstructionDefsback to summary
public void setMaxInstructionDefs(int maxInstructionDefsValue)
Parameters
maxInstructionDefsValue:int

The maxInstructionDefs to set.

setMaxPointsback to summary
public void setMaxPoints(int maxPointsValue)
Parameters
maxPointsValue:int

The maxPoints to set.

setMaxSizeOfInstructionsback to summary
public void setMaxSizeOfInstructions(int maxSizeOfInstructionsValue)
Parameters
maxSizeOfInstructionsValue:int

The maxSizeOfInstructions to set.

setMaxStackElementsback to summary
public void setMaxStackElements(int maxStackElementsValue)
Parameters
maxStackElementsValue:int

The maxStackElements to set.

setMaxStorageback to summary
public void setMaxStorage(int maxStorageValue)
Parameters
maxStorageValue:int

The maxStorage to set.

setMaxTwilightPointsback to summary
public void setMaxTwilightPoints(int maxTwilightPointsValue)
Parameters
maxTwilightPointsValue:int

The maxTwilightPoints to set.

setMaxZonesback to summary
public void setMaxZones(int maxZonesValue)
Parameters
maxZonesValue:int

The maxZones to set.

setNumGlyphsback to summary
public void setNumGlyphs(int numGlyphsValue)
Parameters
numGlyphsValue:int

The numGlyphs to set.

setVersionback to summary
public void setVersion(float versionValue)
Parameters
versionValue:float

The version to set.