|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.foray.font.format.ttf.OTFScript
public class OTFScript
An OpenType Script.
Field Summary | |
---|---|
static byte |
TAG_SIZE
The size, in bytes, of an OpenType Script tag. |
Constructor Summary | |
---|---|
OTFScript()
Constructor. |
Method Summary | |
---|---|
OTFLanguageSystem |
getDefaultLanguageSystem()
Returns the default language system for this script. |
OTFLanguageSystem |
getNamedLanguageSystem(String languageSystemTag)
Returns the language system for a given tag. |
static OTFScript |
parse(RandomAccessInput raInput,
int offset)
Parses a script. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final byte TAG_SIZE
Constructor Detail |
---|
public OTFScript()
Method Detail |
---|
public static OTFScript parse(RandomAccessInput raInput, int offset) throws IOException
raInput
- The input from which the script is being parsed.offset
- The offset in raInput
for the start of the script.
IOException
- For I/O errors during parsing.public OTFLanguageSystem getDefaultLanguageSystem()
public OTFLanguageSystem getNamedLanguageSystem(String languageSystemTag)
languageSystemTag
- The language system tag to be retrieved.
languageSystemTag
, or null if that tag is not in this script.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |