Class Vhea
- java.lang.Object
-
- com.adobe.fontengine.font.opentype.Table
-
- com.adobe.fontengine.font.opentype.Vhea
-
public final class Vhea extends Table
Gives access to the 'vhea' table.Version handling
'vhea' tables have a major/minor version number. This implementation:
- fully supports version 1.0 and 1.1 tables,
- interprets 1.x (x>1) tables as 1.1 tables,
- rejects other versions with an
UnsupportedFontException
at construction time.
Synchronization
Like all tables, these objects are immutable.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAscent()
int
getNumberOfVMetrics()
Get the number of vMetricsint
getTableMajorVersion()
Get the major version of the tableint
getTableMinorVersion()
get the minor version of the tablevoid
stream(Map tables)
void
subsetAndStream(Subset subset, Map tables)
-
-
-
Method Detail
-
getTableMajorVersion
public int getTableMajorVersion() throws InvalidFontException
Get the major version of the table- Throws:
InvalidFontException
-
getTableMinorVersion
public int getTableMinorVersion() throws InvalidFontException
get the minor version of the table- Throws:
InvalidFontException
-
getAscent
public int getAscent() throws InvalidFontException
- Throws:
InvalidFontException
-
getNumberOfVMetrics
public int getNumberOfVMetrics() throws InvalidFontException
Get the number of vMetrics- Throws:
InvalidFontException
-
subsetAndStream
public void subsetAndStream(Subset subset, Map tables) throws InvalidFontException
- Throws:
InvalidFontException
-
stream
public void stream(Map tables)
-
-