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

java.lang.Object
  extended by org.extex.font.format.xtf.tables.gps.XtfGSUBAlternateTable.AlternateSet
Enclosing class:
XtfGSUBAlternateTable

public static class XtfGSUBAlternateTable.AlternateSet
extends java.lang.Object

AlternateSet.

For each glyph, an AlternateSet subtable contains a count of the alternative glyphs (GlyphCount) and an array of their glyph indices (Alternate). Because all the glyphs are functionally equivalent, they can be in any order in the array.

Type Name Description
uint16 GlyphCount Number of GlyphIDs in the Alternate array
GlyphID Alternate[GlyphCount] Array of alternate GlyphIDs-in arbitrary order


Constructor Summary
XtfGSUBAlternateTable.AlternateSet(RandomAccessR rar, int offset)
          Creates a new object.
 
Method Summary
 int[] getGlyphs()
          Getter for glyphs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XtfGSUBAlternateTable.AlternateSet

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

Parameters:
offset - The offset
rar - The input.
Throws:
java.io.IOException - if a IO-error is occurred.
Method Detail

getGlyphs

public int[] getGlyphs()
Getter for glyphs.

Returns:
the glyphs