public class HeaderTable extends TTFTable
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
TAG |
Tag to identify this table.
|
initialized
Constructor | Description |
---|---|
HeaderTable() |
Modifier and Type | Method | Description |
---|---|---|
long |
getCheckSumAdjustment() |
|
java.util.Calendar |
getCreated() |
|
int |
getFlags() |
|
short |
getFontDirectionHint() |
|
float |
getFontRevision() |
|
short |
getGlyphDataFormat() |
|
short |
getIndexToLocFormat() |
|
int |
getLowestRecPPEM() |
|
int |
getMacStyle() |
|
long |
getMagicNumber() |
|
java.util.Calendar |
getModified() |
|
int |
getUnitsPerEm() |
|
float |
getVersion() |
|
short |
getXMax() |
|
short |
getXMin() |
|
short |
getYMax() |
|
short |
getYMin() |
|
void |
initData(TrueTypeFont ttf,
TTFDataStream data) |
This will read the required data from the stream.
|
void |
setCheckSumAdjustment(long checkSumAdjustmentValue) |
|
void |
setCreated(java.util.Calendar createdValue) |
|
void |
setFlags(int flagsValue) |
|
void |
setFontDirectionHint(short fontDirectionHintValue) |
|
void |
setFontRevision(float fontRevisionValue) |
|
void |
setGlyphDataFormat(short glyphDataFormatValue) |
|
void |
setIndexToLocFormat(short indexToLocFormatValue) |
|
void |
setLowestRecPPEM(int lowestRecPPEMValue) |
|
void |
setMacStyle(int macStyleValue) |
|
void |
setMagicNumber(long magicNumberValue) |
|
void |
setModified(java.util.Calendar modifiedValue) |
|
void |
setUnitsPerEm(int unitsPerEmValue) |
|
void |
setVersion(float versionValue) |
|
void |
setXMax(short maxValue) |
|
void |
setXMin(short minValue) |
|
void |
setYMax(short maxValue) |
|
void |
setYMin(short minValue) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCheckSum, getInitialized, getLength, getOffset, getTag, setCheckSum, setLength, setOffset, setTag
public static final java.lang.String TAG
public void initData(TrueTypeFont ttf, TTFDataStream data) throws java.io.IOException
public long getCheckSumAdjustment()
public void setCheckSumAdjustment(long checkSumAdjustmentValue)
checkSumAdjustmentValue
- The checkSumAdjustment to set.public java.util.Calendar getCreated()
public void setCreated(java.util.Calendar createdValue)
createdValue
- The created to set.public int getFlags()
public void setFlags(int flagsValue)
flagsValue
- The flags to set.public short getFontDirectionHint()
public void setFontDirectionHint(short fontDirectionHintValue)
fontDirectionHintValue
- The fontDirectionHint to set.public float getFontRevision()
public void setFontRevision(float fontRevisionValue)
fontRevisionValue
- The fontRevision to set.public short getGlyphDataFormat()
public void setGlyphDataFormat(short glyphDataFormatValue)
glyphDataFormatValue
- The glyphDataFormat to set.public short getIndexToLocFormat()
public void setIndexToLocFormat(short indexToLocFormatValue)
indexToLocFormatValue
- The indexToLocFormat to set.public int getLowestRecPPEM()
public void setLowestRecPPEM(int lowestRecPPEMValue)
lowestRecPPEMValue
- The lowestRecPPEM to set.public int getMacStyle()
public void setMacStyle(int macStyleValue)
macStyleValue
- The macStyle to set.public long getMagicNumber()
public void setMagicNumber(long magicNumberValue)
magicNumberValue
- The magicNumber to set.public java.util.Calendar getModified()
public void setModified(java.util.Calendar modifiedValue)
modifiedValue
- The modified to set.public int getUnitsPerEm()
public void setUnitsPerEm(int unitsPerEmValue)
unitsPerEmValue
- The unitsPerEm to set.public float getVersion()
public void setVersion(float versionValue)
versionValue
- The version to set.public short getXMax()
public void setXMax(short maxValue)
maxValue
- The xMax to set.public short getXMin()
public void setXMin(short minValue)
minValue
- The xMin to set.public short getYMax()
public void setYMax(short maxValue)
maxValue
- The yMax to set.public short getYMin()
public void setYMin(short minValue)
minValue
- The yMin to set.Copyright © 2008–2018. All rights reserved.