public class PostScriptTable extends TTFTable
Modifier and Type | Field and Description |
---|---|
private float |
formatType |
private java.lang.String[] |
glyphNames |
private long |
isFixedPitch |
private float |
italicAngle |
private static org.apache.commons.logging.Log |
LOG |
private long |
maxMemType1 |
private long |
maxMemType42 |
private long |
mimMemType1 |
private long |
minMemType42 |
static java.lang.String |
TAG
A tag that identifies this table type.
|
private short |
underlinePosition |
private short |
underlineThickness |
font, initialized
Constructor and Description |
---|
PostScriptTable(TrueTypeFont font) |
Modifier and Type | Method and Description |
---|---|
float |
getFormatType() |
java.lang.String[] |
getGlyphNames() |
long |
getIsFixedPitch() |
float |
getItalicAngle() |
long |
getMaxMemType1() |
long |
getMaxMemType42() |
long |
getMinMemType1() |
long |
getMinMemType42() |
java.lang.String |
getName(int gid) |
short |
getUnderlinePosition() |
short |
getUnderlineThickness() |
(package private) void |
read(TrueTypeFont ttf,
TTFDataStream data)
This will read the required data from the stream.
|
void |
setFormatType(float formatTypeValue) |
void |
setGlyphNames(java.lang.String[] glyphNamesValue) |
void |
setIsFixedPitch(long isFixedPitchValue) |
void |
setItalicAngle(float italicAngleValue) |
void |
setMaxMemType1(long maxMemType1Value) |
void |
setMaxMemType42(long maxMemType42Value) |
void |
setMimMemType1(long mimMemType1Value) |
void |
setMinMemType42(long minMemType42Value) |
void |
setUnderlinePosition(short underlinePositionValue) |
void |
setUnderlineThickness(short underlineThicknessValue) |
getCheckSum, getInitialized, getLength, getOffset, getTag, setCheckSum, setLength, setOffset, setTag
private static final org.apache.commons.logging.Log LOG
private float formatType
private float italicAngle
private short underlinePosition
private short underlineThickness
private long isFixedPitch
private long minMemType42
private long maxMemType42
private long mimMemType1
private long maxMemType1
private java.lang.String[] glyphNames
public static final java.lang.String TAG
PostScriptTable(TrueTypeFont font)
void read(TrueTypeFont ttf, TTFDataStream data) throws java.io.IOException
public float getFormatType()
public void setFormatType(float formatTypeValue)
formatTypeValue
- The formatType to set.public long getIsFixedPitch()
public void setIsFixedPitch(long isFixedPitchValue)
isFixedPitchValue
- The isFixedPitch to set.public float getItalicAngle()
public void setItalicAngle(float italicAngleValue)
italicAngleValue
- The italicAngle to set.public long getMaxMemType1()
public void setMaxMemType1(long maxMemType1Value)
maxMemType1Value
- The maxMemType1 to set.public long getMaxMemType42()
public void setMaxMemType42(long maxMemType42Value)
maxMemType42Value
- The maxMemType42 to set.public long getMinMemType1()
public void setMimMemType1(long mimMemType1Value)
mimMemType1Value
- The mimMemType1 to set.public long getMinMemType42()
public void setMinMemType42(long minMemType42Value)
minMemType42Value
- The minMemType42 to set.public short getUnderlinePosition()
public void setUnderlinePosition(short underlinePositionValue)
underlinePositionValue
- The underlinePosition to set.public short getUnderlineThickness()
public void setUnderlineThickness(short underlineThicknessValue)
underlineThicknessValue
- The underlineThickness to set.public java.lang.String[] getGlyphNames()
public void setGlyphNames(java.lang.String[] glyphNamesValue)
glyphNamesValue
- The glyphNames to set.public java.lang.String getName(int gid)