org.extex.font.format.xtf.tables.gps
Class XtfGSUBAlternateTable.XtfGSUBAlternateTable1

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

public static class XtfGSUBAlternateTable.XtfGSUBAlternateTable1
extends XtfGSUBAlternateTable

AlternateSubstFormat1 subtable.

Type Name Description
uint16 SubstFormat Format identifier-format = 1
Offset Coverage Offset to Coverage table-from beginning of Substitution table
uint16 AlternateSetCount Number of AlternateSet tables
Offset AlternateSet [AlternateSetCount] Array of offsets to AlternateSet tables-from beginning of Substitution table-ordered by Coverage Index


Nested Class Summary
 
Nested classes/interfaces inherited from class org.extex.font.format.xtf.tables.gps.XtfGSUBAlternateTable
XtfGSUBAlternateTable.AlternateSet, XtfGSUBAlternateTable.XtfGSUBAlternateTable1
 
Field Summary
 
Fields inherited from class org.extex.font.format.xtf.tables.gps.XtfLookupTable
count
 
Constructor Summary
XtfGSUBAlternateTable.XtfGSUBAlternateTable1(RandomAccessR rar, int offset, XtfGlyphName xtfGlyph)
          Creates a new object.
 
Method Summary
 java.lang.String[][] getSubGlyph()
          Returns an array with the in/out glyph.
 void writeXML(XMLStreamWriter writer)
          Write the data to a XMLStreamWriter.
 
Methods inherited from class org.extex.font.format.xtf.tables.gps.XtfGSUBAlternateTable
newInstance
 
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
 

Constructor Detail

XtfGSUBAlternateTable.XtfGSUBAlternateTable1

public XtfGSUBAlternateTable.XtfGSUBAlternateTable1(RandomAccessR rar,
                                                    int offset,
                                                    XtfGlyphName xtfGlyph)
                                             throws java.io.IOException
Creates a new object.

Parameters:
rar - The input.
offset - The offset.
xtfGlyph - The glyph name.
Throws:
java.io.IOException - if an IO_error occurs
Method Detail

getSubGlyph

public java.lang.String[][] getSubGlyph()
Returns an array with the in/out glyph.

Special for the test case

Specified by:
getSubGlyph in class XtfGSUBAlternateTable
Returns:
Returns an array with the in/out glyph.
See Also:
XtfGSUBAlternateTable.getSubGlyph()

writeXML

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

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