public class KerningTable extends TTFTable
Modifier and Type | Field and Description |
---|---|
static String |
TAG
Tag to identify this table.
|
font, initialized
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 specificed cross stream.
|
void |
read(TrueTypeFont ttf,
org.apache.fontbox.ttf.TTFDataStream data)
This will read the required data from the stream.
|
getCheckSum, getInitialized, getLength, getOffset, getTag
public static final String TAG
public void read(TrueTypeFont ttf, org.apache.fontbox.ttf.TTFDataStream data) throws IOException
ttf
- The font that is being read.data
- The stream to read the data from.IOException
- If there is an error reading the data.public KerningSubtable getHorizontalKerningSubtable()
public KerningSubtable getHorizontalKerningSubtable(boolean cross)
cross
- true if requesting cross stream horizontal kerningCopyright © 2002–2017 The Apache Software Foundation. All rights reserved.