public class KerningData extends Object
| Modifier and Type | Field and Description |
|---|---|
ArrayList<KerningTable> |
subtables |
| Constructor and Description |
|---|
KerningData(int maxGlyphID) |
| Modifier and Type | Method and Description |
|---|---|
HashMap<Long,Integer> |
getAllKerningPairs() |
KerningTable |
getHorizontalKerningSubtable() |
int[] |
getKerning(com.pd4ml.fonts.TrueType ttf,
int[] text) |
int[] |
getKerning(com.pd4ml.fonts.TrueType ttf,
String text) |
void |
read(com.pd4ml.fonts.TrueType ttf,
com.pd4ml.util.BytesReader data) |
void |
readExt(com.pd4ml.fonts.TrueType ttf,
com.pd4ml.util.BytesReader data) |
public ArrayList<KerningTable> subtables
public void read(com.pd4ml.fonts.TrueType ttf,
com.pd4ml.util.BytesReader data)
throws IOException
IOExceptionpublic void readExt(com.pd4ml.fonts.TrueType ttf,
com.pd4ml.util.BytesReader data)
throws IOException
IOExceptionpublic KerningTable getHorizontalKerningSubtable()
public int[] getKerning(com.pd4ml.fonts.TrueType ttf,
String text)
public int[] getKerning(com.pd4ml.fonts.TrueType ttf,
int[] text)
Revision 4.0.15 / 20220727-0149