public interface GlyphClassMapping
The GlyphClassMapping
interface provides glyph identifier to class
index mapping support.
This work was originally authored by Glenn Adams (gadams@apache.org).
Modifier and Type | Method and Description |
---|---|
int |
getClassIndex(int gid,
int set)
Map glyph identifier (code) to coverge index.
|
int |
getClassSize(int set)
Obtain size of class table, i.e., ciMax + 1, where ciMax is the maximum
class index.
|
int getClassSize(int set)
set
- for coverage set based class mappings, indicates set index, otherwise ignoredint getClassIndex(int gid, int set)
gid
- glyph identifier (code)set
- for coverage set based class mappings, indicates set index, otherwise ignoredCopyright 1999-2012 The Apache Software Foundation. All Rights Reserved.