public final class Hhea extends Table
'hhea' 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 |
|---|---|
int |
getAscender()
Get the Ascender.
|
int |
getDescender()
Get the Descender.
|
int |
getLineGap()
Get the LineGap.
|
int |
getNumberOfHMetrics()
Get the number of hMetrics.
|
int |
getRise()
Get the caretSlopeRise.
|
int |
getRun()
Get the caretSlopeRun.
|
int |
getTableMajorVersion()
Get the major version of the table.
|
int |
getTableMinorVersion()
Get the minor version of the table.
|
void |
stream(Map tables) |
void |
subsetAndStream(Subset subset,
Map tables) |
public int getTableMajorVersion()
throws InvalidFontException
InvalidFontExceptionpublic int getTableMinorVersion()
throws InvalidFontException
InvalidFontExceptionpublic int getNumberOfHMetrics()
throws InvalidFontException
InvalidFontExceptionpublic int getRise()
throws InvalidFontException
InvalidFontExceptionpublic int getRun()
throws InvalidFontException
InvalidFontExceptionpublic int getAscender()
throws InvalidFontException
InvalidFontExceptionpublic int getDescender()
throws InvalidFontException
InvalidFontExceptionpublic int getLineGap()
throws InvalidFontException
InvalidFontExceptionpublic void stream(Map tables)
Copyright © 2010 - 2020 Adobe. All Rights Reserved