|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.foray.font.format.ttf.OTFFeature
public class OTFFeature
An OpenType layout table feature.
| Nested Class Summary | |
|---|---|
static class |
OTFFeature.OtfFeatureTag
Enumeration of the various OTF feature tags. |
| Field Summary | |
|---|---|
static int |
TAG_SIZE
The size, in bytes, of an OpenType Feature tag. |
| Constructor Summary | |
|---|---|
OTFFeature()
Constructor. |
|
| Method Summary | |
|---|---|
char |
lookupListIndexAt(int index)
Returns a specified lookup list index. |
int |
lookupListIndexLength()
Returns the number of lookup list indexes in this feature. |
static OTFFeature |
parse(RandomAccessInput raInput,
int offset)
Parses a feature. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int TAG_SIZE
| Constructor Detail |
|---|
public OTFFeature()
| Method Detail |
|---|
public static OTFFeature parse(RandomAccessInput raInput,
int offset)
throws IOException
raInput - The input from which the feature is being parsed.offset - The offset in raInput for the start of the feature table.
IOException - For I/O errors during parsing.public int lookupListIndexLength()
public char lookupListIndexAt(int index)
index - The index into the lookup list indexes.
index.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||