protected abstract static class GlyphMappingTable.RangeMappingTable extends GlyphMappingTable
GlyphMappingTable.EmptyMappingTable, GlyphMappingTable.MappedMappingTable, GlyphMappingTable.MappingRange, GlyphMappingTable.RangeMappingTableGLYPH_MAPPING_TYPE_EMPTY, GLYPH_MAPPING_TYPE_MAPPED, GLYPH_MAPPING_TYPE_RANGE| Constructor | Description |
|---|---|
RangeMappingTable(java.util.List entries) |
Construct range mapping table.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List |
getEntries() |
Obtain mapping entries.
|
int |
getMappedIndex(int gid) |
Map glyph identifier (code) to coverge index.
|
abstract int |
getMappedIndex(int gid,
int s,
int m) |
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.
|
java.lang.String |
toString() |
public RangeMappingTable(java.util.List entries)
entries - of mapping rangespublic int getType()
getType in class GlyphMappingTablepublic java.util.List getEntries()
getEntries in class GlyphMappingTablepublic int getMappingSize()
getMappingSize in class GlyphMappingTablepublic int getMappedIndex(int gid)
getMappedIndex in class GlyphMappingTablegid - glyph identifier (code)public abstract int getMappedIndex(int gid,
int s,
int m)
gid - glyph identifier (code)s - start of rangem - mapping valuepublic java.lang.String toString()
toString in class java.lang.ObjectCopyright 1999-2016 The Apache Software Foundation. All Rights Reserved.