public class KerningTable extends Object
Modifier and Type | Class and Description |
---|---|
class |
KerningTable.ClassRange |
Modifier and Type | Field and Description |
---|---|
com.pd4ml.fonts.kerning.KerningTable.PairData |
pairs |
Modifier and Type | Method and Description |
---|---|
HashMap<Long,Integer> |
getAllPairs() |
int |
getKerning(int l,
int r) |
boolean |
isHorizontalKerning() |
boolean |
isHorizontalKerning(boolean cross) |
void |
read(com.pd4ml.fonts.TrueType ttf,
com.pd4ml.util.BytesReader data,
int version) |
int |
readValue(com.pd4ml.util.BytesReader data,
int left,
int right,
boolean force) |
int |
sortWeight() |
public int sortWeight()
public void read(com.pd4ml.fonts.TrueType ttf, com.pd4ml.util.BytesReader data, int version) throws IOException
IOException
public boolean isHorizontalKerning()
public boolean isHorizontalKerning(boolean cross)
public int getKerning(int l, int r)
public int readValue(com.pd4ml.util.BytesReader data, int left, int right, boolean force) throws IOException
IOException
Revision 4.0.15 / 20220727-0149