Class Vmtx
- java.lang.Object
-
- com.adobe.fontengine.font.opentype.Table
-
- com.adobe.fontengine.font.opentype.Vmtx
-
public final class Vmtx extends Table
Gives access to the 'vmtx' table.Version handling
'vmtx' 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
getTopSideBearing(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
-
getTopSideBearing
public int getTopSideBearing(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)
-
-