org.extex.font.format.xtf.tables.gps
Class XtfGSUBLigatureTable.LigatureSet

java.lang.Object
  extended by org.extex.font.format.xtf.tables.gps.XtfGSUBLigatureTable.LigatureSet
All Implemented Interfaces:
XMLWriterConvertible
Enclosing class:
XtfGSUBLigatureTable

public class XtfGSUBLigatureTable.LigatureSet
extends java.lang.Object
implements XMLWriterConvertible

ligature set


Method Summary
 int getIdx()
          Getter for idx.
 int getLigature(int[] glyphIds)
          Returns the ligature glyph id, or -1, if not found.
 int getLigatureCount()
          Returns the ligatureCount.
 int[] getLigatureOffsets()
          Returns the ligatureOffsets.
 XtfGSUBLigatureTable.Ligature[] getLigatures()
          Returns the ligatures.
 void writeXML(XMLStreamWriter writer)
          Write the data to a XMLStreamWriter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getIdx

public int getIdx()
Getter for idx.

Returns:
the idx

getLigature

public int getLigature(int[] glyphIds)
Returns the ligature glyph id, or -1, if not found.

Parameters:
glyphIds - The glyph ids.
Returns:
Returns the ligature glyph id, or -1, if not found.

getLigatureCount

public int getLigatureCount()
Returns the ligatureCount.

Returns:
Returns the ligatureCount.

getLigatureOffsets

public int[] getLigatureOffsets()
Returns the ligatureOffsets.

Returns:
Returns the ligatureOffsets.

getLigatures

public XtfGSUBLigatureTable.Ligature[] getLigatures()
Returns the ligatures.

Returns:
Returns the ligatures.

writeXML

public void writeXML(XMLStreamWriter writer)
              throws java.io.IOException
Write the data to a XMLStreamWriter.

Specified by:
writeXML in interface XMLWriterConvertible
Parameters:
writer - the XML-Writer
Throws:
java.io.IOException - if an IO-error occurs.
See Also:
XMLWriterConvertible.writeXML(org.extex.util.xml.XMLStreamWriter)