public class PostScriptTable extends TTFTable
Modifier and Type | Field and Description |
---|---|
static String |
TAG
A tag that identifies this table type.
|
font, initialized
Modifier and Type | Method and Description |
---|---|
float |
getFormatType() |
String[] |
getGlyphNames() |
long |
getIsFixedPitch() |
float |
getItalicAngle() |
long |
getMaxMemType1() |
long |
getMaxMemType42() |
long |
getMinMemType1() |
long |
getMinMemType42() |
String |
getName(int gid) |
short |
getUnderlinePosition() |
short |
getUnderlineThickness() |
void |
read(TrueTypeFont ttf,
org.apache.fontbox.ttf.TTFDataStream data)
This will read the required data from the stream.
|
void |
setFormatType(float formatTypeValue) |
void |
setGlyphNames(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
public static final String TAG
public void read(TrueTypeFont ttf, org.apache.fontbox.ttf.TTFDataStream data) throws IOException
ttf
- The font that is being read.data
- The stream to read the data from.IOException
- If there is an error reading the data.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 String[] getGlyphNames()
public void setGlyphNames(String[] glyphNamesValue)
glyphNamesValue
- The glyphNames to set.public String getName(int gid)
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.