public class PostTable extends TrueTypeTable
CMAP_TABLE, GLYF_TABLE, HEAD_TABLE, HHEA_TABLE, HMTX_TABLE, LOCA_TABLE, MAXP_TABLE, NAME_TABLE, POST_TABLE
Modifier | Constructor and Description |
---|---|
protected |
PostTable()
Creates a new instance of PostTable
|
Modifier and Type | Method and Description |
---|---|
java.nio.ByteBuffer |
getData()
get the data in this map as a ByteBuffer
|
int |
getFormat()
Getter for property format.
|
java.lang.String |
getGlyphName(char c)
Map a character code to a glyphIndex name
|
short |
getGlyphNameIndex(java.lang.String name)
Map a character name to a glyphNameIndex
|
short |
getIsFixedPitch()
Getter for property isFixedPitch.
|
int |
getItalicAngle()
Getter for property italicAngle.
|
int |
getLength()
Get the length of this table
|
int |
getMaxMemType1()
Getter for property maxMemType1.
|
int |
getMaxMemType42()
Getter for property maxMemType42.
|
int |
getMinMemType1()
Getter for property minMemType1.
|
int |
getMinMemType42()
Getter for property minMemType42.
|
short |
getUnderlinePosition()
Getter for property underlinePosition.
|
short |
getUnderlineThickness()
Getter for property underlineThickness.
|
void |
setData(java.nio.ByteBuffer data)
Initialize this structure from a ByteBuffer
|
void |
setFormat(int format)
Setter for property format.
|
void |
setIsFixedPitch(short isFixedPitch)
Setter for property isFixedPitch.
|
void |
setItalicAngle(int italicAngle)
Setter for property italicAngle.
|
void |
setMaxMemType1(int maxMemType1)
Setter for property maxMemType1.
|
void |
setMaxMemType42(int maxMemType42)
Setter for property maxMemType42.
|
void |
setMinMemType1(int minMemType1)
Setter for property minMemType1.
|
void |
setMinMemType42(int minMemType42)
Setter for property minMemType42.
|
void |
setUnderlinePosition(short underlinePosition)
Setter for property underlinePosition.
|
void |
setUnderlineThickness(short underlineThickness)
Setter for property underlineThickness.
|
createTable, createTable, getTag, stringToTag, tagToString, toString
public short getGlyphNameIndex(java.lang.String name)
public java.lang.String getGlyphName(char c)
public java.nio.ByteBuffer getData()
getData
in class TrueTypeTable
public void setData(java.nio.ByteBuffer data)
setData
in class TrueTypeTable
public int getLength()
getLength
in class TrueTypeTable
public int getFormat()
public void setFormat(int format)
format
- New value of property format.public int getItalicAngle()
public void setItalicAngle(int italicAngle)
italicAngle
- New value of property italicAngle.public short getUnderlinePosition()
public void setUnderlinePosition(short underlinePosition)
underlinePosition
- New value of property underlinePosition.public short getUnderlineThickness()
public void setUnderlineThickness(short underlineThickness)
underlineThickness
- New value of property underlineThickness.public short getIsFixedPitch()
public void setIsFixedPitch(short isFixedPitch)
isFixedPitch
- New value of property isFixedPitch.public int getMinMemType42()
public void setMinMemType42(int minMemType42)
minMemType42
- New value of property minMemType42.public int getMaxMemType42()
public void setMaxMemType42(int maxMemType42)
maxMemType42
- New value of property maxMemType42.public int getMinMemType1()
public void setMinMemType1(int minMemType1)
minMemType1
- New value of property minMemType1.public int getMaxMemType1()
public void setMaxMemType1(int maxMemType1)
maxMemType1
- New value of property maxMemType1.