org.extex.font.format.xtf.tables.gps
Class ClassDefTable.ClassDef2Table
java.lang.Object
org.extex.font.format.xtf.tables.gps.ClassDefTable
org.extex.font.format.xtf.tables.gps.ClassDefTable.ClassDef2Table
- All Implemented Interfaces:
- XMLWriterConvertible
- Enclosing class:
- ClassDefTable
public static class ClassDefTable.ClassDef2Table
- extends ClassDefTable
ClassDefTable for Format 2.
The second class definition format (ClassDefFormat2) defines multiple
groups of glyph indices that belong to the same class. Each group
consists of a discrete range of glyph indices in consecutive order
(ranges cannot overlap).
The ClassDef Format 2 table contains a format identifier (ClassFormat), a
count of ClassRangeRecords that define the groups and assign class values
(ClassRangeCount), and an array of ClassRangeRecords ordered by the
GlyphID of the first glyph in each record (ClassRangeRecord).
Each ClassRangeRecord consists of a Start glyph index, an End glyph
index, and a Class value. All GlyphIDs in a range, from Start to End
inclusive, constitute the class identified by the Class value. Any glyph
not covered by a ClassRangeRecord is assumed to belong to Class 0.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassDefTable.ClassDef2Table
public ClassDefTable.ClassDef2Table(RandomAccessR rar,
XtfGlyphName xtfGlyph,
int classformat,
int defNr)
throws java.io.IOException
- Creates a new object.
- Parameters:
rar - The input.xtfGlyph - The glyph name.classformat - The class format.defNr - The class def number.
- Throws:
java.io.IOException - if an IO-error occurred.