Class Hmtx
- java.lang.Object
-
- com.adobe.fontengine.font.opentype.Table
-
- com.adobe.fontengine.font.opentype.Hmtx
-
public final class Hmtx extends Table
Gives access to the 'hmtx' table.Version handling
'hmtx' tables are not versionned.
Synchronization
Like all tables, these objects are immutable.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetHorizontalAdvance(int glyphID)Get the horizontal advance of the glyphglyphID.intgetLeftSideBearing(int glyphID)Get the left side bearing of the glyphglyphID.voidstream(java.util.Map tables)voidsubsetAndStream(Subset subset, java.util.Map tables)
-
-
-
Method Detail
-
getLeftSideBearing
public int getLeftSideBearing(int glyphID) throws InvalidFontExceptionGet the left side bearing of the glyphglyphID.- Throws:
InvalidFontException
-
getHorizontalAdvance
public int getHorizontalAdvance(int glyphID) throws InvalidFontExceptionGet the horizontal advance of the glyphglyphID.- Throws:
InvalidFontException
-
subsetAndStream
public void subsetAndStream(Subset subset, java.util.Map tables) throws InvalidFontException
- Throws:
InvalidFontException
-
stream
public void stream(java.util.Map tables)
-
-