org.apache.fontbox.ttf

Class PostScriptTable

public class PostScriptTable 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
floatgetFormatType()
String[]getGlyphNames()
longgetIsFixedPitch()
floatgetItalicAngle()
longgetMaxMemType1()
longgetMaxMemType42()
longgetMimMemType1()
longgetMinMemType42()
shortgetUnderlinePosition()
shortgetUnderlineThickness()
voidinitData(TrueTypeFont ttf, TTFDataStream data)
This will read the required data from the stream.
voidsetFormatType(float formatTypeValue)
voidsetGlyphNames(String[] glyphNamesValue)
voidsetIsFixedPitch(long isFixedPitchValue)
voidsetItalicAngle(float italicAngleValue)
voidsetMaxMemType1(long maxMemType1Value)
voidsetMaxMemType42(long maxMemType42Value)
voidsetMimMemType1(long mimMemType1Value)
voidsetMinMemType42(long minMemType42Value)
voidsetUnderlinePosition(short underlinePositionValue)
voidsetUnderlineThickness(short underlineThicknessValue)

Field Detail

TAG

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

Method Detail

getFormatType

public float getFormatType()

Returns: Returns the formatType.

getGlyphNames

public String[] getGlyphNames()

Returns: Returns the glyphNames.

getIsFixedPitch

public long getIsFixedPitch()

Returns: Returns the isFixedPitch.

getItalicAngle

public float getItalicAngle()

Returns: Returns the italicAngle.

getMaxMemType1

public long getMaxMemType1()

Returns: Returns the maxMemType1.

getMaxMemType42

public long getMaxMemType42()

Returns: Returns the maxMemType42.

getMimMemType1

public long getMimMemType1()

Returns: Returns the mimMemType1.

getMinMemType42

public long getMinMemType42()

Returns: Returns the minMemType42.

getUnderlinePosition

public short getUnderlinePosition()

Returns: Returns the underlinePosition.

getUnderlineThickness

public short getUnderlineThickness()

Returns: Returns the underlineThickness.

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.

setFormatType

public void setFormatType(float formatTypeValue)

Parameters: formatTypeValue The formatType to set.

setGlyphNames

public void setGlyphNames(String[] glyphNamesValue)

Parameters: glyphNamesValue The glyphNames to set.

setIsFixedPitch

public void setIsFixedPitch(long isFixedPitchValue)

Parameters: isFixedPitchValue The isFixedPitch to set.

setItalicAngle

public void setItalicAngle(float italicAngleValue)

Parameters: italicAngleValue The italicAngle to set.

setMaxMemType1

public void setMaxMemType1(long maxMemType1Value)

Parameters: maxMemType1Value The maxMemType1 to set.

setMaxMemType42

public void setMaxMemType42(long maxMemType42Value)

Parameters: maxMemType42Value The maxMemType42 to set.

setMimMemType1

public void setMimMemType1(long mimMemType1Value)

Parameters: mimMemType1Value The mimMemType1 to set.

setMinMemType42

public void setMinMemType42(long minMemType42Value)

Parameters: minMemType42Value The minMemType42 to set.

setUnderlinePosition

public void setUnderlinePosition(short underlinePositionValue)

Parameters: underlinePositionValue The underlinePosition to set.

setUnderlineThickness

public void setUnderlineThickness(short underlineThicknessValue)

Parameters: underlineThicknessValue The underlineThickness to set.

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