public final class Kern extends Table
Versioning of 'kern' table is a bit complicated because OpenType defines a format with a minor version number only, and Apple TrueType defines a format with a major/minor version number. This implementation:
UnsupportedFontException
at construction time.Like all tables, these objects are immutable.
| Modifier and Type | Method and Description |
|---|---|
int[] |
getKernVector(int leftGid,
int rightGid)
Get the kerning pair for two glyphs.
|
int |
getTableMajorVersion()
Get the major version of the table.
|
void |
stream(Map tables) |
void |
subsetAndStreamForSWF(Subset subset,
Map tables) |
public int getTableMajorVersion()
throws InvalidFontException
InvalidFontExceptionpublic int[] getKernVector(int leftGid,
int rightGid)
throws InvalidFontException,
UnsupportedFontException
public void stream(Map tables)
public void subsetAndStreamForSWF(Subset subset, Map tables) throws InvalidFontException, UnsupportedFontException
Copyright © 2010 - 2020 Adobe. All Rights Reserved