|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.foray.font.format.ttf.OTFCoverage
org.foray.font.format.ttf.OTFCoveragex01
public class OTFCoveragex01
A coverage using Format 1 (List of glyph indexes).
Constructor Summary | |
---|---|
OTFCoveragex01()
|
Method Summary | |
---|---|
int |
coverageIndex(int glyphIndex)
Returns the coverage index for a given glyph index. |
char[] |
getGlyphArray()
Returns the array of glyph indexes that define this coverage. |
static OTFCoveragex01 |
parse(RandomAccessInput raInput,
int offset)
Parses a coverage. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OTFCoveragex01()
Method Detail |
---|
public static OTFCoveragex01 parse(RandomAccessInput raInput, int offset) throws IOException
raInput
- The input from which the coverage is being parsed.offset
- The offset in raInput
for the start of the coverage.
IOException
- For I/O errors during parsing.public char[] getGlyphArray()
public int coverageIndex(int glyphIndex)
OTFCoverage
coverageIndex
in class OTFCoverage
glyphIndex
- The glyph index to be tested.
glyphIndex
is not covered.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |