Script tags (OpenType 1.4)

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.

Some of most commonly used script tags are shown below. A full list of script tags is available from Microsoft.

Script Script Tag
Arabicarab
Armenianarmn
Bengalibeng
Bopomofobopo
Braillebrai
Byzantine Musicbyzm
Canadian Syllabicscans
Cherokeecher
CJK Ideographichani
Cyrilliccyrl
DefaultDFLT
Devanagarideva
Ethiopicethi
Georgiangeor
Greekgrek
Gujaratigujr
Gurmukhiguru
Hangul Jamojamo
Hangulhang
Hebrewhebr
Hiraganakana
Kannadaknda
Katakanakana
Khmerkhmr
Laolao
Latinlatn
Malayalammlym
Mongolianmong
Myanmarmymr
Oghamogam
Oriyaorya
Runicrunr
Sinhalasinh
Syriacsyrc
Tamiltaml
Telugutelu
Thaanathaa
Thaithai
Tibetantibt
Yiyi

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.