org.extex.font.format.xtf.tables.gps
Class XtfGPOSMarkToBaseTable.BaseRecord

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

public static class XtfGPOSMarkToBaseTable.BaseRecord
extends java.lang.Object
implements XMLWriterConvertible

BaseRecord.

A BaseRecord declares one Anchor table for each mark class (including Class 0) identified in the MarkRecords of the MarkArray. Each Anchor table specifies one attachment point used to attach all the marks in a particular class to the base glyph. A BaseRecord contains an array of offsets to Anchor tables (BaseAnchor). The zero-based array of offsets defines the entire set of attachment points each base glyph uses to attach marks. The offsets to Anchor tables are ordered by mark class.

Note: Anchor tables are not tagged with class value identifiers. Instead, the index value of an Anchor table in the array defines the class value represented by the Anchor table.

Value Type Description
Offset BaseAnchor[ClassCount] Array of offsets (one per class) to Anchor tables-from beginning of BaseArray table-ordered by class-zero-based


Constructor Summary
XtfGPOSMarkToBaseTable.BaseRecord(RandomAccessR rar)
          Creates a new object.
 
Method Summary
 void writeXML(XMLStreamWriter writer)
          Write the data to a XMLStreamWriter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XtfGPOSMarkToBaseTable.BaseRecord

public XtfGPOSMarkToBaseTable.BaseRecord(RandomAccessR rar)
                                  throws java.io.IOException
Creates a new object.

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

writeXML

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

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