getCheckSumAdjustment
public long getCheckSumAdjustment()
- Returns the checkSumAdjustment.
getCreated
public Calendar getCreated()
getFlags
public int getFlags()
getFontDirectionHint
public short getFontDirectionHint()
- Returns the fontDirectionHint.
getFontRevision
public float getFontRevision()
- Returns the fontRevision.
getGlyphDataFormat
public short getGlyphDataFormat()
- Returns the glyphDataFormat.
getIndexToLocFormat
public short getIndexToLocFormat()
- Returns the indexToLocFormat.
getLowestRecPPEM
public int getLowestRecPPEM()
- Returns the lowestRecPPEM.
getMacStyle
public int getMacStyle()
getMagicNumber
public long getMagicNumber()
getModified
public Calendar getModified()
getUnitsPerEm
public int getUnitsPerEm()
getVersion
public float getVersion()
getXMax
public short getXMax()
getXMin
public short getXMin()
getYMax
public short getYMax()
getYMin
public short getYMin()
initData
public void initData(TrueTypeFont ttf,
TTFDataStream data)
throws IOException
This will read the required data from the stream.
- initData in interface TTFTable
ttf
- The font that is being read.data
- The stream to read the data from.
setCheckSumAdjustment
public void setCheckSumAdjustment(long checkSumAdjustmentValue)
checkSumAdjustmentValue
- The checkSumAdjustment to set.
setCreated
public void setCreated(Calendar createdValue)
createdValue
- The created to set.
setFlags
public void setFlags(int flagsValue)
flagsValue
- The flags to set.
setFontDirectionHint
public void setFontDirectionHint(short fontDirectionHintValue)
fontDirectionHintValue
- The fontDirectionHint to set.
setFontRevision
public void setFontRevision(float fontRevisionValue)
fontRevisionValue
- The fontRevision to set.
setGlyphDataFormat
public void setGlyphDataFormat(short glyphDataFormatValue)
glyphDataFormatValue
- The glyphDataFormat to set.
setIndexToLocFormat
public void setIndexToLocFormat(short indexToLocFormatValue)
indexToLocFormatValue
- The indexToLocFormat to set.
setLowestRecPPEM
public void setLowestRecPPEM(int lowestRecPPEMValue)
lowestRecPPEMValue
- The lowestRecPPEM to set.
setMacStyle
public void setMacStyle(int macStyleValue)
macStyleValue
- The macStyle to set.
setMagicNumber
public void setMagicNumber(long magicNumberValue)
magicNumberValue
- The magicNumber to set.
setModified
public void setModified(Calendar modifiedValue)
modifiedValue
- The modified to set.
setUnitsPerEm
public void setUnitsPerEm(int unitsPerEmValue)
unitsPerEmValue
- The unitsPerEm to set.
setVersion
public void setVersion(float versionValue)
versionValue
- The version to set.
setXMax
public void setXMax(short maxValue)
maxValue
- The xMax to set.
setXMin
public void setXMin(short minValue)
minValue
- The xMin to set.
setYMax
public void setYMax(short maxValue)
maxValue
- The yMax to set.
setYMin
public void setYMin(short minValue)
minValue
- The yMin to set.