Package com.mta.tehreer.sfnt.tables
Class HeadTable
java.lang.Object
com.mta.tehreer.sfnt.tables.HeadTable
Represents an OpenType `head' table.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
HeadTable
Constructs aHeadTable
object from the specified typeface.- Parameters:
typeface
- The typeface from which theHeadTable
object is constructed.- Throws:
NullPointerException
- iftypeface
isnull
.RuntimeException
- iftypeface
does not contain `head' table.
-
-
Method Details
-
from
Constructs aHeadTable
object from the specified typeface.- Parameters:
typeface
- The typeface from which theHeadTable
object is constructed.- Returns:
- A new
HeadTable
object, ornull
if `head' table does not exist in the specified typeface. - Throws:
NullPointerException
- iftypeface
isnull
.
-
version
public int version() -
fontRevision
public int fontRevision() -
checkSumAdjustment
public long checkSumAdjustment() -
magicNumber
public long magicNumber() -
flags
public int flags() -
unitsPerEm
public int unitsPerEm() -
created
public long created() -
modified
public long modified() -
xMin
public short xMin() -
yMin
public short yMin() -
xMax
public short xMax() -
yMax
public short yMax() -
macStyle
public int macStyle() -
lowestRecPPEM
public int lowestRecPPEM() -
fontDirectionHint
public short fontDirectionHint() -
indexToLocFormat
public short indexToLocFormat() -
glyphDataFormat
public short glyphDataFormat()
-