Script tags (OpenType 1.5)
Script tags identify the scripts represented in a OpenType Layout font. Script tags are defined by Microsoft Typography and correspond to the contiguous character code ranges in Unicode.
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 four or fewer lowercase letters. If a script tag consists less than four lowercase letters, the letters are followed by the requisite number of spaces (0x20), each consisting of a single byte.
Script | Script Tag |
---|---|
Arabic | arab |
Armenian | armn |
Balinese | bali |
Bengali | beng |
Bengali v.2 | bng2 |
Bopomofo | bopo |
Braille | brai |
Buginese | bugi |
Buhid | buhd |
Byzantine Music | byzm |
Canadian Syllabics | cans |
Carian | cari |
Cham | cham |
Cherokee | cher |
CJK Ideographic | hani |
Coptic | copt |
Cypriot Syllabary | cprt |
Cyrillic | cyrl |
Default | DFLT |
Deseret | dsrt |
Devanagari | deva |
Devanagari v.2 | dev2 |
Ethiopic | ethi |
Georgian | geor |
Glagolitic | glag |
Gothic | goth |
Greek | grek |
Gujarati | gujr |
Gujarati v.2 | gjr2 |
Gurmukhi | guru |
Gurmukhi v.2 | gur2 |
Hangul | hang |
Hangul Jamo | jamo |
Hanunoo | hano |
Hebrew | hebr |
Hiragana | kana |
Javanese | java |
Kannada | knda |
Kannada v.2 | knd2 |
Katakana | kana |
Kayah Li | kali |
Kharosthi | khar |
Khmer | khmr |
Lao | lao |
Latin | latn |
Lepcha | lepc |
Limbu | limb |
Linear B | linb |
Lycian | lyci |
Lydian | lydi |
Malayalam | mlym |
Malayalam v.2 | mlm2 |
Mathematical Alphanumeric Symbols | math |
Mongolian | mong |
Musical Symbols | musc |
Myanmar | mymr |
New Tai Lue | talu |
N’Ko | nko |
Ogham | ogam |
Ol Chiki | olck |
Old Italic | ital |
Old Persian Cuneiform | xpeo |
Oriya | orya |
Oriya v.2 | ory2 |
Osmanya | osma |
Phags-pa | phag |
Phoenician | phnx |
Rejang | rjng |
Runic | runr |
Saurashtra | saur |
Shavian | shaw |
Sinhala | sinh |
Sumero-Akkadian Cuneiform | xsux |
Sundanese | sund |
Syloti Nagri | sylo |
Syriac | syrc |
Tagalog | tglg |
Tagbanwa | tagb |
Tai Le | tale |
Tamil | taml |
Tamil v.2 | tml2 |
Telugu | telu |
Telugu v.2 | tel2 |
Thaana | thaa |
Thai | thai |
Tibetan | tibt |
Tifinagh | tfng |
Ugaritic Cuneiform | ugar |
Vai | vai |
Yi | yi |
When the ScriptList table is searched for a script, and no entry is found, and there is an entry for the 'DFLT' script, then this entry must be used. Furthermore, the Script table for the 'DFLT' script must have a non-NULL DefaultLangSys and a LangSysCount equal to 0; in other words, there is only a default language for the default script.
OpenType specification