public final class FontHeaderTable extends Table
Modifier and Type | Class and Description |
---|---|
static class |
FontHeaderTable.Builder |
static class |
FontHeaderTable.Flags
Flag values in the font header table.
|
static class |
FontHeaderTable.FontDirectionHint
Font direction hint values in the font header table.
|
static class |
FontHeaderTable.IndexToLocFormat
The index to location format used in the LocaTable.
|
static class |
FontHeaderTable.MacStyle
Mac style bits set in the font header table.
|
Modifier and Type | Field and Description |
---|---|
static long |
CHECKSUM_ADJUSTMENT_BASE
Checksum adjustment base value.
|
static long |
MAGIC_NUMBER
Magic number value stored in the magic number field.
|
Modifier and Type | Method and Description |
---|---|
long |
checkSumAdjustment()
Get the checksum adjustment.
|
long |
created()
Get the created date.
|
java.util.EnumSet<FontHeaderTable.Flags> |
flags()
Get the flags as an enum set.
|
int |
flagsAsInt()
Get the flags as an int value.
|
FontHeaderTable.FontDirectionHint |
fontDirectionHint() |
int |
fontDirectionHintAsInt() |
int |
fontRevision()
Get the font revision.
|
int |
glyphdataFormat() |
FontHeaderTable.IndexToLocFormat |
indexToLocFormat() |
int |
indexToLocFormatAsInt() |
int |
lowestRecPPEM() |
java.util.EnumSet<FontHeaderTable.MacStyle> |
macStyle()
Get the Mac style bits as an enum set.
|
int |
macStyleAsInt()
Get the Mac style bits as an int.
|
long |
magicNumber()
Get the magic number.
|
long |
modified()
Get the modified date.
|
int |
tableVersion()
Get the table version.
|
int |
unitsPerEm()
Get the units per em.
|
int |
xMax()
Get the x max.
|
int |
xMin()
Get the x min.
|
int |
yMax()
Get the y max.
|
int |
yMin()
Get the y min.
|
calculatedChecksum, header, headerChecksum, headerLength, headerOffset, headerTag, toString
dataLength, readFontData, serialize
public static final long CHECKSUM_ADJUSTMENT_BASE
public static final long MAGIC_NUMBER
public int tableVersion()
public int fontRevision()
public long checkSumAdjustment()
public long magicNumber()
public int flagsAsInt()
public java.util.EnumSet<FontHeaderTable.Flags> flags()
public int unitsPerEm()
public long created()
public long modified()
public int xMin()
public int yMin()
public int xMax()
public int yMax()
public int macStyleAsInt()
public java.util.EnumSet<FontHeaderTable.MacStyle> macStyle()
public int lowestRecPPEM()
public int fontDirectionHintAsInt()
public FontHeaderTable.FontDirectionHint fontDirectionHint()
public int indexToLocFormatAsInt()
public FontHeaderTable.IndexToLocFormat indexToLocFormat()
public int glyphdataFormat()