com.sun.pdfview.font.ttf

Class PostTable

public class PostTable extends TrueTypeTable

Model the TrueType Post table
Constructor Summary
protected PostTable()
Creates a new instance of PostTable
Method Summary
ByteBuffergetData()
get the data in this map as a ByteBuffer
intgetFormat()
Getter for property format.
StringgetGlyphName(char c)
Map a character code to a glyphIndex name
shortgetGlyphNameIndex(String name)
Map a character name to a glyphNameIndex
shortgetIsFixedPitch()
Getter for property isFixedPitch.
intgetItalicAngle()
Getter for property italicAngle.
intgetLength()
Get the length of this table
intgetMaxMemType1()
Getter for property maxMemType1.
intgetMaxMemType42()
Getter for property maxMemType42.
intgetMinMemType1()
Getter for property minMemType1.
intgetMinMemType42()
Getter for property minMemType42.
shortgetUnderlinePosition()
Getter for property underlinePosition.
shortgetUnderlineThickness()
Getter for property underlineThickness.
voidsetData(ByteBuffer data)
Initialize this structure from a ByteBuffer
voidsetFormat(int format)
Setter for property format.
voidsetIsFixedPitch(short isFixedPitch)
Setter for property isFixedPitch.
voidsetItalicAngle(int italicAngle)
Setter for property italicAngle.
voidsetMaxMemType1(int maxMemType1)
Setter for property maxMemType1.
voidsetMaxMemType42(int maxMemType42)
Setter for property maxMemType42.
voidsetMinMemType1(int minMemType1)
Setter for property minMemType1.
voidsetMinMemType42(int minMemType42)
Setter for property minMemType42.
voidsetUnderlinePosition(short underlinePosition)
Setter for property underlinePosition.
voidsetUnderlineThickness(short underlineThickness)
Setter for property underlineThickness.

Constructor Detail

PostTable

protected PostTable()
Creates a new instance of PostTable

Method Detail

getData

public ByteBuffer getData()
get the data in this map as a ByteBuffer

getFormat

public int getFormat()
Getter for property format.

Returns: Value of property format.

getGlyphName

public String getGlyphName(char c)
Map a character code to a glyphIndex name

getGlyphNameIndex

public short getGlyphNameIndex(String name)
Map a character name to a glyphNameIndex

getIsFixedPitch

public short getIsFixedPitch()
Getter for property isFixedPitch.

Returns: Value of property isFixedPitch.

getItalicAngle

public int getItalicAngle()
Getter for property italicAngle.

Returns: Value of property italicAngle.

getLength

public int getLength()
Get the length of this table

getMaxMemType1

public int getMaxMemType1()
Getter for property maxMemType1.

Returns: Value of property maxMemType1.

getMaxMemType42

public int getMaxMemType42()
Getter for property maxMemType42.

Returns: Value of property maxMemType42.

getMinMemType1

public int getMinMemType1()
Getter for property minMemType1.

Returns: Value of property minMemType1.

getMinMemType42

public int getMinMemType42()
Getter for property minMemType42.

Returns: Value of property minMemType42.

getUnderlinePosition

public short getUnderlinePosition()
Getter for property underlinePosition.

Returns: Value of property underlinePosition.

getUnderlineThickness

public short getUnderlineThickness()
Getter for property underlineThickness.

Returns: Value of property underlineThickness.

setData

public void setData(ByteBuffer data)
Initialize this structure from a ByteBuffer

setFormat

public void setFormat(int format)
Setter for property format.

Parameters: format New value of property format.

setIsFixedPitch

public void setIsFixedPitch(short isFixedPitch)
Setter for property isFixedPitch.

Parameters: isFixedPitch New value of property isFixedPitch.

setItalicAngle

public void setItalicAngle(int italicAngle)
Setter for property italicAngle.

Parameters: italicAngle New value of property italicAngle.

setMaxMemType1

public void setMaxMemType1(int maxMemType1)
Setter for property maxMemType1.

Parameters: maxMemType1 New value of property maxMemType1.

setMaxMemType42

public void setMaxMemType42(int maxMemType42)
Setter for property maxMemType42.

Parameters: maxMemType42 New value of property maxMemType42.

setMinMemType1

public void setMinMemType1(int minMemType1)
Setter for property minMemType1.

Parameters: minMemType1 New value of property minMemType1.

setMinMemType42

public void setMinMemType42(int minMemType42)
Setter for property minMemType42.

Parameters: minMemType42 New value of property minMemType42.

setUnderlinePosition

public void setUnderlinePosition(short underlinePosition)
Setter for property underlinePosition.

Parameters: underlinePosition New value of property underlinePosition.

setUnderlineThickness

public void setUnderlineThickness(short underlineThickness)
Setter for property underlineThickness.

Parameters: underlineThickness New value of property underlineThickness.