public final class Head extends Table
'head' tables have a major/minor version number. This implementation:
UnsupportedFontException
at construction time.Like all tables, these objects are immutable.
| Modifier and Type | Method and Description |
|---|---|
Rect |
getFontBBox()
Get the font bbox.
|
int |
getIndexToLocFormat()
Get the indexToLocFormat.
|
int |
getTableMajorVersion()
Get the major version.
|
int |
getTableMinorVersion()
Get the minor version.
|
int |
getUnitsPerEm()
Get the units per em.
|
int |
getXMax()
Get the xMax.
|
int |
getXMin()
Get the xMin.
|
int |
getYMax()
Get the yMax.
|
int |
getYMin()
Get the yMin.
|
boolean |
isConverted()
Get the flags bit 12: "Font converted (produce compatible metrics)"
|
static boolean |
isFontHeaderValidationRequired() |
boolean |
isItalic()
Get the italic macStyle.
|
static void |
setFontHeaderValidationRequired(boolean fontHeaderValidationRequired) |
com.adobe.fontengine.font.opentype.OTByteArray.OTByteArrayBuilder |
stream(Map tables) |
com.adobe.fontengine.font.opentype.OTByteArray.OTByteArrayBuilder |
subsetAndStream(Subset subset,
Map tables) |
public static boolean isFontHeaderValidationRequired()
public static void setFontHeaderValidationRequired(boolean fontHeaderValidationRequired)
public int getTableMajorVersion()
throws InvalidFontException
InvalidFontExceptionpublic int getTableMinorVersion()
throws InvalidFontException
InvalidFontExceptionpublic boolean isConverted()
throws InvalidFontException
InvalidFontExceptionpublic int getUnitsPerEm()
throws InvalidFontException
InvalidFontExceptionpublic int getIndexToLocFormat()
throws InvalidFontException
InvalidFontExceptionpublic boolean isItalic()
throws InvalidFontException
InvalidFontExceptionpublic int getXMin()
throws InvalidFontException
InvalidFontExceptionpublic int getYMin()
throws InvalidFontException
InvalidFontExceptionpublic int getXMax()
throws InvalidFontException
InvalidFontExceptionpublic int getYMax()
throws InvalidFontException
InvalidFontExceptionpublic Rect getFontBBox() throws InvalidFontException
InvalidFontExceptionpublic com.adobe.fontengine.font.opentype.OTByteArray.OTByteArrayBuilder subsetAndStream(Subset subset, Map tables)
public com.adobe.fontengine.font.opentype.OTByteArray.OTByteArrayBuilder stream(Map tables)
Copyright © 2010 - 2020 Adobe. All Rights Reserved