|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.font.format.xtf.tables.tag.Tag
public abstract class Tag
OpenType Layout Tag Registry.
The Tag Registry defines the OpenType Layout tags that Microsoft supports. OpenType Layout tags are 4-byte character strings that identify the scripts, language systems, features and baselines in a OpenType Layout font. The registry establishes conventions for naming and using these tags. Registered tags have a specific meaning and convey precise information to developers and text-processing clients of OpenType Layout. Microsoft encourages font developers to use registered tags to assure compatibility and ease of use across fonts, applications, and operating systems.
The following sections contain sample sets of commonly used tags for scripts, language systems, and baselines. Microsoft will supply a list of additional tags upon request. In addition, the Feature Tag section defines all the features and feature tags Microsoft has developed and registered to date, including descriptions of the functions of each feature.
All tags are 4-byte character strings composed of a limited set of ASCII characters in the 0x20-0x7E range. A script tag can consist of 4 or less lowercase letters. If a script tag consists of three or less lowercase letters, the letters are followed by the requisite number of spaces (0x20), each consisting of a single byte.
OpenType layout tag registry for:
| Constructor Summary | |
|---|---|
protected |
Tag(RandomAccessR rar)
Creates a new object. |
protected |
Tag(java.lang.String name)
Creates a new object. |
| Method Summary | |
|---|---|
protected static java.lang.String |
format(java.lang.String name)
Format the tag name. |
static Tag |
getInstance(java.lang.String name)
Get a new Tag. |
java.lang.String |
getTag()
Getter for tag. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected Tag(RandomAccessR rar)
throws java.io.IOException
rar - The input.
java.io.IOException - if a io-error occurred.protected Tag(java.lang.String name)
name - The name of the tag.| Method Detail |
|---|
protected static java.lang.String format(java.lang.String name)
name - The name.
public static Tag getInstance(java.lang.String name)
The tag can be a ScriptTag, a FeatureTag, a
LanguageSystemTag or null, if not found.
name - The name of the tag.
public java.lang.String getTag()
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||