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

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

public abstract class XtfGSUBAlternateTable
extends XtfLookupTable

Alternate Substitution Subtable.

An Alternate Substitution (AlternateSubst) subtable identifies any number of aesthetic alternatives from which a user can choose a glyph variant to replace the input glyph.

Version:
$Revision: 6608 $
Author:
Michael Niedermair

Nested Class Summary
static class XtfGSUBAlternateTable.AlternateSet
          AlternateSet.
static class XtfGSUBAlternateTable.XtfGSUBAlternateTable1
          AlternateSubstFormat1 subtable.
 
Field Summary
 
Fields inherited from class org.extex.font.format.xtf.tables.gps.XtfLookupTable
count
 
Method Summary
abstract  java.lang.String[][] getSubGlyph()
          Returns an array with the in/out glyph.
static XtfGSUBAlternateTable 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 XtfGSUBAlternateTable 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 instance.
Throws:
java.io.IOException - if an IO-error occurs

getSubGlyph

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

Special for the test case

Returns:
Returns an array with the in/out glyph.