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

java.lang.Object
  extended by org.extex.font.format.xtf.tables.gps.XtfLookupTable
      extended by org.extex.font.format.xtf.tables.gps.XtfGSUBLigatureTable
All Implemented Interfaces:
XMLWriterConvertible
Direct Known Subclasses:
XtfGSUBLigatureTable.LigatureTableFormat1, XtfGSUBLigatureTable.LigatureTableFormatX

public abstract class XtfGSUBLigatureTable
extends XtfLookupTable

LookupTable for a ligature.

Version:
$Revision: 7274 $
Author:
Michael Niedermair

Nested Class Summary
 class XtfGSUBLigatureTable.Ligature
          ligature
 class XtfGSUBLigatureTable.LigatureSet
          ligature set
static class XtfGSUBLigatureTable.LigatureTableFormat1
          Table for format1
static class XtfGSUBLigatureTable.LigatureTableFormatX
          Table for format x.
 
Field Summary
 
Fields inherited from class org.extex.font.format.xtf.tables.gps.XtfLookupTable
count
 
Method Summary
abstract  XtfGSUBLigatureTable.LigatureSet getLigatureSet(int glyphiD)
          Returns the ligature set or null, if not found.
static XtfGSUBLigatureTable newInstance(RandomAccessR rar, int offset, XtfGlyphName xtfGlyph)
          Create a new instance.
 
Methods inherited from class org.extex.font.format.xtf.tables.gps.XtfLookupTable
getCount, getFormat, getXtfGlyph
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.extex.util.xml.XMLWriterConvertible
writeXML
 

Method Detail

newInstance

public static XtfGSUBLigatureTable newInstance(RandomAccessR rar,
                                               int offset,
                                               XtfGlyphName xtfGlyph)
                                        throws java.io.IOException
Create a new instance.

Parameters:
rar - the input
offset - the offset
xtfGlyph - The glyph name.
Returns:
Returns the new ligature table.
Throws:
java.io.IOException - if an IO-error occurs.

getLigatureSet

public abstract XtfGSUBLigatureTable.LigatureSet getLigatureSet(int glyphiD)
Returns the ligature set or null, if not found.

Parameters:
glyphiD - TODO
Returns:
Returns the ligature set.