org.apache.fontbox.ttf
public class HeaderTable extends TTFTable
Version: $Revision: 1.1 $
Field Summary | |
---|---|
static String | TAG
Tag to identify this table. |
Method Summary | |
---|---|
long | getCheckSumAdjustment() |
Calendar | getCreated() |
int | getFlags() |
short | getFontDirectionHint() |
float | getFontRevision() |
short | getGlyphDataFormat() |
short | getIndexToLocFormat() |
int | getLowestRecPPEM() |
int | getMacStyle() |
long | getMagicNumber() |
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(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(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) |
Returns: Returns the checkSumAdjustment.
Returns: Returns the created.
Returns: Returns the flags.
Returns: Returns the fontDirectionHint.
Returns: Returns the fontRevision.
Returns: Returns the glyphDataFormat.
Returns: Returns the indexToLocFormat.
Returns: Returns the lowestRecPPEM.
Returns: Returns the macStyle.
Returns: Returns the magicNumber.
Returns: Returns the modified.
Returns: Returns the unitsPerEm.
Returns: Returns the version.
Returns: Returns the xMax.
Returns: Returns the xMin.
Returns: Returns the yMax.
Returns: Returns the yMin.
Parameters: ttf The font that is being read. data The stream to read the data from.
Throws: IOException If there is an error reading the data.
Parameters: checkSumAdjustmentValue The checkSumAdjustment to set.
Parameters: createdValue The created to set.
Parameters: flagsValue The flags to set.
Parameters: fontDirectionHintValue The fontDirectionHint to set.
Parameters: fontRevisionValue The fontRevision to set.
Parameters: glyphDataFormatValue The glyphDataFormat to set.
Parameters: indexToLocFormatValue The indexToLocFormat to set.
Parameters: lowestRecPPEMValue The lowestRecPPEM to set.
Parameters: macStyleValue The macStyle to set.
Parameters: magicNumberValue The magicNumber to set.
Parameters: modifiedValue The modified to set.
Parameters: unitsPerEmValue The unitsPerEm to set.
Parameters: versionValue The version to set.
Parameters: maxValue The xMax to set.
Parameters: minValue The xMin to set.
Parameters: maxValue The yMax to set.
Parameters: minValue The yMin to set.