|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.font.format.xtf.tables.gps.XtfLookupList
public class XtfLookupList
List for all LookupTables.
lookup list table
The headers of the GSUB and GPOS tables contain offsets to Lookup List tables (LookupList) for glyph substitution (GSUB table) and glyph positioning (GPOS table). The LookupList table contains an array of offsets to Lookup tables (Lookup). The font developer defines the Lookup sequence in the Lookup array to control the order in which a text-processing client applies lookup data to glyph substitution and positioning operations. LookupCount specifies the total number of Lookup table offsets in the array.
| Type | Name | Description |
| uint16 | LookupCount | Number of lookups in this table |
| Offset | Lookup[LookupCount] | Array of offsets to Lookup tables-from beginning of LookupList -zero based (first lookup is Lookup index = 0) |
| Constructor Summary | |
|---|---|
XtfLookupList(RandomAccessR rar,
int posOffset,
int offset,
LookupTableFactory lookupFactory,
XtfGlyphName xtfGlyph)
Create a new object |
|
| Method Summary | |
|---|---|
XtfLookup |
getLookup(int index)
Returns the lookup od null, if not exists. |
XtfLookup |
getLookup(XtfFeatureList.Feature feature,
int index)
Returns the lookup |
int |
getLookupCount()
Returns the lookupCount. |
int[] |
getLookupOffsets()
Returns the lookupOffsets. |
XtfLookup[] |
getLookups()
Returns the lookups. |
java.lang.String |
toString()
Returns the info for this class |
void |
writeXML(XMLStreamWriter writer)
Write the data to a XMLStreamWriter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public XtfLookupList(RandomAccessR rar,
int posOffset,
int offset,
LookupTableFactory lookupFactory,
XtfGlyphName xtfGlyph)
throws java.io.IOException
rar - The input.offset - The offset.posOffset - The offset of the pos table (GPOS, GSUB).lookupFactory - The factory for the lookup table.xtfGlyph - The glyph name.
java.io.IOException - if an IO-error occurs| Method Detail |
|---|
public XtfLookup getLookup(int index)
null, if not exists.
index - The index.
public XtfLookup getLookup(XtfFeatureList.Feature feature,
int index)
feature - featureindex - index
public int getLookupCount()
public int[] getLookupOffsets()
public XtfLookup[] getLookups()
public java.lang.String toString()
toString in class java.lang.Object
public void writeXML(XMLStreamWriter writer)
throws java.io.IOException
writeXML in interface XMLWriterConvertiblewriter - the XML-Writer
java.io.IOException - if an IO-error occurs.XMLWriterConvertible.writeXML(org.extex.util.xml.XMLStreamWriter)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||