|
fop 2.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.complexscripts.fonts.GlyphMappingTable
public class GlyphMappingTable
Base class implementation of glyph mapping table. This base class maps glyph indices to arbitrary integers (mappping indices), and is used to implement both glyph coverage and glyph class maps.
This work was originally authored by Glenn Adams (gadams@apache.org).
Nested Class Summary | |
---|---|
protected static class |
GlyphMappingTable.EmptyMappingTable
empty mapping table base class |
protected static class |
GlyphMappingTable.MappedMappingTable
mapped mapping table base class |
static class |
GlyphMappingTable.MappingRange
The MappingRange class encapsulates a glyph [start,end] range and
a mapping index. |
protected static class |
GlyphMappingTable.RangeMappingTable
range mapping table base class |
Field Summary | |
---|---|
static int |
GLYPH_MAPPING_TYPE_EMPTY
empty mapping table |
static int |
GLYPH_MAPPING_TYPE_MAPPED
mapped mapping table |
static int |
GLYPH_MAPPING_TYPE_RANGE
range based mapping table |
Constructor Summary | |
---|---|
GlyphMappingTable()
|
Method Summary | |
---|---|
java.util.List |
getEntries()
Obtain mapping entries. |
int |
getMappedIndex(int gid)
Map glyph identifier (code) to coverge index. |
int |
getMappingSize()
Obtain size of mapping table, i.e., ciMax + 1, where ciMax is the maximum mapping index. |
int |
getType()
Obtain mapping type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int GLYPH_MAPPING_TYPE_EMPTY
public static final int GLYPH_MAPPING_TYPE_MAPPED
public static final int GLYPH_MAPPING_TYPE_RANGE
Constructor Detail |
---|
public GlyphMappingTable()
Method Detail |
---|
public int getType()
public java.util.List getEntries()
public int getMappingSize()
public int getMappedIndex(int gid)
gid
- glyph identifier (code)
|
fop 2.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |