|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.font.format.xtf.tables.TtfTableKERN.KernSubtable
org.extex.font.format.xtf.tables.TtfTableKERN.KernSubtableFormat2
public static class TtfTableKERN.KernSubtableFormat2
Format 2.
This subtable is a two-dimensional array of kerning values.
| Type | Field | Description |
| USHORT | rowWidth | The width, in bytes, of a row in the table. |
| USHORT | leftClassTable | Offset from beginning of this subtable to left-hand class table. |
| USHORT | rightClassTable | Offset from beginning of this subtable to right-hand class table. |
| USHORT | array | Offset from beginning of this subtable to the start of the kerning array. |
Each class table has the following header:
| Type | Field | Description |
| USHORT | firstGlyph | First glyph in class range. |
| USHORT | nGlyphs | Number of glyph in class range. |
| Method Summary | |
|---|---|
int |
getArray()
Returns the array. |
TtfTableKERN.KerningPair |
getKerning(int i)
Returns the kerning |
int |
getKerningCount()
Returns the number of kerning pairs. |
int |
getLeftClassTable()
Returns the leftClassTable. |
int |
getRightClassTable()
Returns the rightClassTable. |
int |
getRowWidth()
Returns the rowWidth. |
void |
writeXML(XMLStreamWriter writer)
Write the data to a XMLStreamWriter. |
| Methods inherited from class org.extex.font.format.xtf.tables.TtfTableKERN.KernSubtable |
|---|
read |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public int getArray()
public TtfTableKERN.KerningPair getKerning(int i)
getKerning in class TtfTableKERN.KernSubtablei - index
TtfTableKERN.KernSubtable.getKerning(int)public int getKerningCount()
getKerningCount in class TtfTableKERN.KernSubtableTtfTableKERN.KernSubtable.getKerningCount()public int getLeftClassTable()
public int getRightClassTable()
public int getRowWidth()
public void writeXML(XMLStreamWriter writer)
throws java.io.IOException
writer - the XML-Writer
java.io.IOException - if an IO-error occurs.XMLWriterConvertible.writeXML(
org.extex.util.xml.XMLStreamWriter)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||