Class Hmtx
java.lang.Object
com.adobe.fontengine.font.opentype.Table
com.adobe.fontengine.font.opentype.Hmtx
Gives access to the 'hmtx' table.
Version handling
'hmtx' tables are not versionned.
Synchronization
Like all tables, these objects are immutable.
-
Method Summary
Modifier and TypeMethodDescriptionintgetHorizontalAdvance(int glyphID) Get the horizontal advance of the glyphglyphID.intgetLeftSideBearing(int glyphID) Get the left side bearing of the glyphglyphID.voidvoidsubsetAndStream(Subset subset, Map tables)
-
Method Details
-
getLeftSideBearing
Get the left side bearing of the glyphglyphID.- Throws:
InvalidFontException
-
getHorizontalAdvance
Get the horizontal advance of the glyphglyphID.- Throws:
InvalidFontException
-
subsetAndStream
- Throws:
InvalidFontException
-
stream
-