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
UnsupportedFontExceptionat construction time.
Synchronization
Like all tables, these objects are immutable.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAscent()intgetNumberOfVMetrics()Get the number of vMetricsintgetTableMajorVersion()Get the major version of the tableintgetTableMinorVersion()get the minor version of the tablevoidstream(java.util.Map tables)voidsubsetAndStream(Subset subset, java.util.Map tables)
-
-
-
Method Detail
-
getTableMajorVersion
public int getTableMajorVersion() throws InvalidFontExceptionGet the major version of the table- Throws:
InvalidFontException
-
getTableMinorVersion
public int getTableMinorVersion() throws InvalidFontExceptionget the minor version of the table- Throws:
InvalidFontException
-
getAscent
public int getAscent() throws InvalidFontException- Throws:
InvalidFontException
-
getNumberOfVMetrics
public int getNumberOfVMetrics() throws InvalidFontExceptionGet the number of vMetrics- Throws:
InvalidFontException
-
subsetAndStream
public void subsetAndStream(Subset subset, java.util.Map tables) throws InvalidFontException
- Throws:
InvalidFontException
-
stream
public void stream(java.util.Map tables)
-
-