public class KerningTable extends TTFTable
Modifier and Type | Field and Description |
---|---|
private static org.apache.commons.logging.Log |
LOG |
private KerningSubtable[] |
subtables |
static java.lang.String |
TAG
Tag to identify this table.
|
font, initialized
Constructor and Description |
---|
KerningTable(TrueTypeFont font) |
Modifier and Type | Method and Description |
---|---|
KerningSubtable |
getHorizontalKerningSubtable()
Obtain first subtable that supports non-cross-stream horizontal kerning.
|
KerningSubtable |
getHorizontalKerningSubtable(boolean cross)
Obtain first subtable that supports horizontal kerning with specified cross stream.
|
(package private) void |
read(TrueTypeFont ttf,
TTFDataStream data)
This will read the required data from the stream.
|
getCheckSum, getInitialized, getLength, getOffset, getTag, setCheckSum, setLength, setOffset, setTag
private static final org.apache.commons.logging.Log LOG
public static final java.lang.String TAG
private KerningSubtable[] subtables
KerningTable(TrueTypeFont font)
void read(TrueTypeFont ttf, TTFDataStream data) throws java.io.IOException
public KerningSubtable getHorizontalKerningSubtable()
public KerningSubtable getHorizontalKerningSubtable(boolean cross)
cross
- true if requesting cross stream horizontal kerning