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 int
getHorizontalAdvance(int glyphID)
Get the horizontal advance of the glyphglyphID
.int
getLeftSideBearing(int glyphID)
Get the left side bearing of the glyphglyphID
.void
stream(java.util.Map tables)
void
subsetAndStream(Subset subset, java.util.Map tables)
-
-
-
Method Detail
-
getLeftSideBearing
public int getLeftSideBearing(int glyphID) throws InvalidFontException
Get the left side bearing of the glyphglyphID
.- Throws:
InvalidFontException
-
getHorizontalAdvance
public int getHorizontalAdvance(int glyphID) throws InvalidFontException
Get 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)
-
-