|
||||||||||
| 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.CoverageTable
public abstract class CoverageTable
Class for a Coverage Table.
Each subtable (except an Extension LookupType subtable) in a lookup references a Coverage table (Coverage), which specifies all the glyphs affected by a substitution or positioning operation described in the subtable. The GSUB, GPOS, and GDEF tables rely on this notion of coverage. If a glyph does not appear in a Coverage table, the client can skip that subtable and move immediately to the next subtable.
A Coverage table identifies glyphs by glyph indices (GlyphIDs) either of two ways:
In a Coverage table, a format code (CoverageFormat) specifies the format as an integer: 1 = lists, and 2 = ranges.
A Coverage table defines a unique index value (Coverage Index) for each covered glyph. This unique value specifies the position of the covered glyph in the Coverage table. The client uses the Coverage Index to look up values in the subtable for each glyph.
| Constructor Summary | |
|---|---|
protected |
CoverageTable(int format)
Creates a new object. |
| Method Summary | |
|---|---|
int |
getCoverageFormat()
Getter for coverageFormat. |
static CoverageTable |
getInstance(RandomAccessR rar,
int baseoffset,
int offset)
Return a instance. |
| 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 |
| Constructor Detail |
|---|
protected CoverageTable(int format)
format - The format| Method Detail |
|---|
public static CoverageTable getInstance(RandomAccessR rar,
int baseoffset,
int offset)
throws java.io.IOException
rar - inputoffset - The offset for the table.baseoffset - The baseofset.
java.io.IOException - if a io-error occurred.public int getCoverageFormat()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||