Package org.apache.fontbox.ttf
Class KerningTable
java.lang.Object
org.apache.fontbox.ttf.TTFTable
org.apache.fontbox.ttf.KerningTable
A 'kern' table in a true type font.
- Author:
- Glenn Adams
-
Field Summary
FieldsFields inherited from class org.apache.fontbox.ttf.TTFTable
font, initialized
-
Method Summary
Modifier and TypeMethodDescriptionObtain first subtable that supports non-cross-stream horizontal kerning.getHorizontalKerningSubtable
(boolean cross) Obtain first subtable that supports horizontal kerning with specified cross stream.Methods inherited from class org.apache.fontbox.ttf.TTFTable
getCheckSum, getInitialized, getLength, getOffset, getTag
-
Field Details
-
TAG
Tag to identify this table.- See Also:
-
-
Method Details
-
getHorizontalKerningSubtable
Obtain first subtable that supports non-cross-stream horizontal kerning.- Returns:
- first matching subtable or null if none found
-
getHorizontalKerningSubtable
Obtain first subtable that supports horizontal kerning with specified cross stream.- Parameters:
cross
- true if requesting cross stream horizontal kerning- Returns:
- first matching subtable or null if none found
-