Package com.mta.tehreer.unicode
Class Script
java.lang.Object
com.mta.tehreer.unicode.Script
Represents the script of a character in Unicode specification. The constants correspond to the
script property values defined in
Unicode Standard Annex #24: PropertyValueAliases.txt
.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Script "Adlam".static final int
Script "Ahom".static final int
Script "Anatolian_Hieroglyphs".static final int
Script "Arabic".static final int
Script "Armenian".static final int
Script "Avestan".static final int
Script "Balinese".static final int
Script "Bamum".static final int
Script "Bassa_Vah".static final int
Script "Batak".static final int
Script "Bengali".static final int
Script "Bhaiksuki".static final int
Script "Bopomofo".static final int
Script "Brahmi".static final int
Script "Braille".static final int
Script "Buginese".static final int
Script "Buhid".static final int
Script "Canadian_Aboriginal".static final int
Script "Carian".static final int
Script "Caucasian_Albanian".static final int
Script "Chakma".static final int
Script "Cham".static final int
Script "Cherokee".static final int
Script "Chorasmian".static final int
Script "Common".static final int
Script "Coptic".static final int
Script "Cuneiform".static final int
Script "Cypriot".static final int
Script "Cypro_Minoan".static final int
Script "Cyrillic".static final int
Script "Deseret".static final int
Script "Devanagari".static final int
Script "Dives_Akuru".static final int
Script "Dogra".static final int
Script "Duployan".static final int
Script "Egyptian_Hieroglyphs".static final int
Script "Elbasan".static final int
Script "Elymaic".static final int
Script "Ethiopic".static final int
Script "Georgian".static final int
Script "Glagolitic".static final int
Script "Gothic".static final int
Script "Grantha".static final int
Script "Greek".static final int
Script "Gujarati".static final int
Script "Gunjala_Gondi".static final int
Script "Gurmukhi".static final int
Script "Han".static final int
Script "Hangul".static final int
Script "Hanifi_Rohingya".static final int
Script "Hanunoo".static final int
Script "Hatran".static final int
Script "Hebrew".static final int
Script "Hiragana".static final int
Script "Imperial_Aramaic".static final int
Script "Inherited".static final int
Script "Inscriptional_Pahlavi".static final int
Script "Inscriptional_Parthian".static final int
Script "Javanese".static final int
Script "Kaithi".static final int
Script "Kannada".static final int
Script "Katakana".static final int
Script "Kayah_Li".static final int
Script "Kharoshthi".static final int
Script "Khitan_Small_Script".static final int
Script "Khmer".static final int
Script "Khojki".static final int
Script "Khudawadi".static final int
Script "Lao".static final int
Script "Latin".static final int
Script "Lepcha".static final int
Script "Limbu".static final int
Script "Linear_A".static final int
Script "Linear_B".static final int
Script "Lisu".static final int
Script "Lycian".static final int
Script "Lydian".static final int
Script "Mahajani".static final int
Script "Makasar".static final int
Script "Malayalam".static final int
Script "Mandaic".static final int
Script "Manichaean".static final int
Script "Marchen".static final int
Script "Masaram_Gondi".static final int
Script "Medefaidrin".static final int
Script "Meetei_Mayek".static final int
Script "Mende_Kikakui".static final int
Script "Meroitic_Cursive".static final int
Script "Meroitic_Hieroglyphs".static final int
Script "Miao".static final int
Script "Modi".static final int
Script "Mongolian".static final int
Script "Mro".static final int
Script "Multani".static final int
Script "Myanmar".static final int
Script "Nabataean".static final int
Script "Nandinagari".static final int
Script "New_Tai_Lue".static final int
Script "Newa".static final int
Script "Nko".static final int
Script "Nushu".static final int
Script "Nyiakeng_Puachue_Hmong".static final int
Script "Ogham".static final int
Script "Ol_Chiki".static final int
Script "Old_Hungarian".static final int
Script "Old_Italic".static final int
Script "Old_North_Arabian".static final int
Script "Old_Permic".static final int
Script "Old_Persian".static final int
Script "Old_Sogdian".static final int
Script "Old_South_Arabian".static final int
Script "Old_Turkic".static final int
Script "Old_Uyghur".static final int
Script "Oriya".static final int
Script "Osage".static final int
Script "Osmanya".static final int
Script "Pahawh_Hmong".static final int
Script "Palmyrene".static final int
Script "Pau_Cin_Hau".static final int
Script "Phags_Pa".static final int
Script "Phoenician".static final int
Script "Psalter_Pahlavi".static final int
Script "Rejang".static final int
Script "Runic".static final int
Script "Samaritan".static final int
Script "Saurashtra".static final int
Script "Sharada".static final int
Script "Shavian".static final int
Script "Siddham".static final int
Script "SignWriting".static final int
Script "Sinhala".static final int
Script "Sogdian".static final int
Script "Sora_Sompeng".static final int
Script "Soyombo".static final int
Script "Sundanese".static final int
Script "Syloti_Nagri".static final int
Script "Syriac".static final int
Script "Tagalog".static final int
Script "Tagbanwa".static final int
Script "Tai_Le".static final int
Script "Tai_Tham".static final int
Script "Tai_Viet".static final int
Script "Takri".static final int
Script "Tamil".static final int
Script "Tangsa".static final int
Script "Tangut".static final int
Script "Telugu".static final int
Script "Thaana".static final int
Script "Thai".static final int
Script "Tibetan".static final int
Script "Tifinagh".static final int
Script "Tirhuta".static final int
Script "Toto".static final int
Script "Ugaritic".static final int
Script "Unknown".static final int
Script "Vai".static final int
Script "Vithkuqi".static final int
Script "Wancho".static final int
Script "Warang_Citi".static final int
Script "Yezidi".static final int
Script "Yi".static final int
Script "Zanabazar_Square". -
Method Summary
Modifier and TypeMethodDescriptionstatic int
getOpenTypeTag
(int script) Returns the OpenType tag of specified script as an integer in big endian byte order.
-
Field Details
-
INHERITED
public static final int INHERITEDScript "Inherited".- See Also:
-
COMMON
public static final int COMMONScript "Common".- See Also:
-
UNKNOWN
public static final int UNKNOWNScript "Unknown".- See Also:
-
ARABIC
public static final int ARABICScript "Arabic".- See Also:
-
ARMENIAN
public static final int ARMENIANScript "Armenian".- See Also:
-
BENGALI
public static final int BENGALIScript "Bengali".- See Also:
-
BOPOMOFO
public static final int BOPOMOFOScript "Bopomofo".- See Also:
-
CYRILLIC
public static final int CYRILLICScript "Cyrillic".- See Also:
-
DEVANAGARI
public static final int DEVANAGARIScript "Devanagari".- See Also:
-
GEORGIAN
public static final int GEORGIANScript "Georgian".- See Also:
-
GREEK
public static final int GREEKScript "Greek".- See Also:
-
GUJARATI
public static final int GUJARATIScript "Gujarati".- See Also:
-
GURMUKHI
public static final int GURMUKHIScript "Gurmukhi".- See Also:
-
HANGUL
public static final int HANGULScript "Hangul".- See Also:
-
HAN
public static final int HANScript "Han".- See Also:
-
HEBREW
public static final int HEBREWScript "Hebrew".- See Also:
-
HIRAGANA
public static final int HIRAGANAScript "Hiragana".- See Also:
-
KATAKANA
public static final int KATAKANAScript "Katakana".- See Also:
-
KANNADA
public static final int KANNADAScript "Kannada".- See Also:
-
LAO
public static final int LAOScript "Lao".- See Also:
-
LATIN
public static final int LATINScript "Latin".- See Also:
-
MALAYALAM
public static final int MALAYALAMScript "Malayalam".- See Also:
-
ORIYA
public static final int ORIYAScript "Oriya".- See Also:
-
TAMIL
public static final int TAMILScript "Tamil".- See Also:
-
TELUGU
public static final int TELUGUScript "Telugu".- See Also:
-
THAI
public static final int THAIScript "Thai".- See Also:
-
TIBETAN
public static final int TIBETANScript "Tibetan".- See Also:
-
BRAILLE
public static final int BRAILLEScript "Braille".- See Also:
-
CANADIAN_ABORIGINAL
public static final int CANADIAN_ABORIGINALScript "Canadian_Aboriginal".- See Also:
-
CHEROKEE
public static final int CHEROKEEScript "Cherokee".- See Also:
-
ETHIOPIC
public static final int ETHIOPICScript "Ethiopic".- See Also:
-
KHMER
public static final int KHMERScript "Khmer".- See Also:
-
MONGOLIAN
public static final int MONGOLIANScript "Mongolian".- See Also:
-
MYANMAR
public static final int MYANMARScript "Myanmar".- See Also:
-
OGHAM
public static final int OGHAMScript "Ogham".- See Also:
-
RUNIC
public static final int RUNICScript "Runic".- See Also:
-
SINHALA
public static final int SINHALAScript "Sinhala".- See Also:
-
SYRIAC
public static final int SYRIACScript "Syriac".- See Also:
-
THAANA
public static final int THAANAScript "Thaana".- See Also:
-
YI
public static final int YIScript "Yi".- See Also:
-
DESERET
public static final int DESERETScript "Deseret".- See Also:
-
GOTHIC
public static final int GOTHICScript "Gothic".- See Also:
-
OLD_ITALIC
public static final int OLD_ITALICScript "Old_Italic".- See Also:
-
BUHID
public static final int BUHIDScript "Buhid".- See Also:
-
HANUNOO
public static final int HANUNOOScript "Hanunoo".- See Also:
-
TAGBANWA
public static final int TAGBANWAScript "Tagbanwa".- See Also:
-
TAGALOG
public static final int TAGALOGScript "Tagalog".- See Also:
-
CYPRIOT
public static final int CYPRIOTScript "Cypriot".- See Also:
-
LIMBU
public static final int LIMBUScript "Limbu".- See Also:
-
LINEAR_B
public static final int LINEAR_BScript "Linear_B".- See Also:
-
OSMANYA
public static final int OSMANYAScript "Osmanya".- See Also:
-
SHAVIAN
public static final int SHAVIANScript "Shavian".- See Also:
-
TAI_LE
public static final int TAI_LEScript "Tai_Le".- See Also:
-
UGARITIC
public static final int UGARITICScript "Ugaritic".- See Also:
-
BUGINESE
public static final int BUGINESEScript "Buginese".- See Also:
-
COPTIC
public static final int COPTICScript "Coptic".- See Also:
-
GLAGOLITIC
public static final int GLAGOLITICScript "Glagolitic".- See Also:
-
KHAROSHTHI
public static final int KHAROSHTHIScript "Kharoshthi".- See Also:
-
SYLOTI_NAGRI
public static final int SYLOTI_NAGRIScript "Syloti_Nagri".- See Also:
-
NEW_TAI_LUE
public static final int NEW_TAI_LUEScript "New_Tai_Lue".- See Also:
-
TIFINAGH
public static final int TIFINAGHScript "Tifinagh".- See Also:
-
OLD_PERSIAN
public static final int OLD_PERSIANScript "Old_Persian".- See Also:
-
BALINESE
public static final int BALINESEScript "Balinese".- See Also:
-
NKO
public static final int NKOScript "Nko".- See Also:
-
PHAGS_PA
public static final int PHAGS_PAScript "Phags_Pa".- See Also:
-
PHOENICIAN
public static final int PHOENICIANScript "Phoenician".- See Also:
-
CUNEIFORM
public static final int CUNEIFORMScript "Cuneiform".- See Also:
-
CARIAN
public static final int CARIANScript "Carian".- See Also:
-
CHAM
public static final int CHAMScript "Cham".- See Also:
-
KAYAH_LI
public static final int KAYAH_LIScript "Kayah_Li".- See Also:
-
LEPCHA
public static final int LEPCHAScript "Lepcha".- See Also:
-
LYCIAN
public static final int LYCIANScript "Lycian".- See Also:
-
LYDIAN
public static final int LYDIANScript "Lydian".- See Also:
-
OL_CHIKI
public static final int OL_CHIKIScript "Ol_Chiki".- See Also:
-
REJANG
public static final int REJANGScript "Rejang".- See Also:
-
SAURASHTRA
public static final int SAURASHTRAScript "Saurashtra".- See Also:
-
SUNDANESE
public static final int SUNDANESEScript "Sundanese".- See Also:
-
VAI
public static final int VAIScript "Vai".- See Also:
-
IMPERIAL_ARAMAIC
public static final int IMPERIAL_ARAMAICScript "Imperial_Aramaic".- See Also:
-
AVESTAN
public static final int AVESTANScript "Avestan".- See Also:
-
BAMUM
public static final int BAMUMScript "Bamum".- See Also:
-
EGYPTIAN_HIEROGLYPHS
public static final int EGYPTIAN_HIEROGLYPHSScript "Egyptian_Hieroglyphs".- See Also:
-
JAVANESE
public static final int JAVANESEScript "Javanese".- See Also:
-
KAITHI
public static final int KAITHIScript "Kaithi".- See Also:
-
TAI_THAM
public static final int TAI_THAMScript "Tai_Tham".- See Also:
-
LISU
public static final int LISUScript "Lisu".- See Also:
-
MEETEI_MAYEK
public static final int MEETEI_MAYEKScript "Meetei_Mayek".- See Also:
-
OLD_TURKIC
public static final int OLD_TURKICScript "Old_Turkic".- See Also:
-
INSCRIPTIONAL_PAHLAVI
public static final int INSCRIPTIONAL_PAHLAVIScript "Inscriptional_Pahlavi".- See Also:
-
INSCRIPTIONAL_PARTHIAN
public static final int INSCRIPTIONAL_PARTHIANScript "Inscriptional_Parthian".- See Also:
-
SAMARITAN
public static final int SAMARITANScript "Samaritan".- See Also:
-
OLD_SOUTH_ARABIAN
public static final int OLD_SOUTH_ARABIANScript "Old_South_Arabian".- See Also:
-
TAI_VIET
public static final int TAI_VIETScript "Tai_Viet".- See Also:
-
BATAK
public static final int BATAKScript "Batak".- See Also:
-
BRAHMI
public static final int BRAHMIScript "Brahmi".- See Also:
-
MANDAIC
public static final int MANDAICScript "Mandaic".- See Also:
-
CHAKMA
public static final int CHAKMAScript "Chakma".- See Also:
-
MEROITIC_CURSIVE
public static final int MEROITIC_CURSIVEScript "Meroitic_Cursive".- See Also:
-
MEROITIC_HIEROGLYPHS
public static final int MEROITIC_HIEROGLYPHSScript "Meroitic_Hieroglyphs".- See Also:
-
MIAO
public static final int MIAOScript "Miao".- See Also:
-
SHARADA
public static final int SHARADAScript "Sharada".- See Also:
-
SORA_SOMPENG
public static final int SORA_SOMPENGScript "Sora_Sompeng".- See Also:
-
TAKRI
public static final int TAKRIScript "Takri".- See Also:
-
CAUCASIAN_ALBANIAN
public static final int CAUCASIAN_ALBANIANScript "Caucasian_Albanian".- See Also:
-
BASSA_VAH
public static final int BASSA_VAHScript "Bassa_Vah".- See Also:
-
DUPLOYAN
public static final int DUPLOYANScript "Duployan".- See Also:
-
ELBASAN
public static final int ELBASANScript "Elbasan".- See Also:
-
GRANTHA
public static final int GRANTHAScript "Grantha".- See Also:
-
PAHAWH_HMONG
public static final int PAHAWH_HMONGScript "Pahawh_Hmong".- See Also:
-
KHOJKI
public static final int KHOJKIScript "Khojki".- See Also:
-
LINEAR_A
public static final int LINEAR_AScript "Linear_A".- See Also:
-
MAHAJANI
public static final int MAHAJANIScript "Mahajani".- See Also:
-
MANICHAEAN
public static final int MANICHAEANScript "Manichaean".- See Also:
-
MENDE_KIKAKUI
public static final int MENDE_KIKAKUIScript "Mende_Kikakui".- See Also:
-
MODI
public static final int MODIScript "Modi".- See Also:
-
MRO
public static final int MROScript "Mro".- See Also:
-
OLD_NORTH_ARABIAN
public static final int OLD_NORTH_ARABIANScript "Old_North_Arabian".- See Also:
-
NABATAEAN
public static final int NABATAEANScript "Nabataean".- See Also:
-
PALMYRENE
public static final int PALMYRENEScript "Palmyrene".- See Also:
-
PAU_CIN_HAU
public static final int PAU_CIN_HAUScript "Pau_Cin_Hau".- See Also:
-
OLD_PERMIC
public static final int OLD_PERMICScript "Old_Permic".- See Also:
-
PSALTER_PAHLAVI
public static final int PSALTER_PAHLAVIScript "Psalter_Pahlavi".- See Also:
-
SIDDHAM
public static final int SIDDHAMScript "Siddham".- See Also:
-
KHUDAWADI
public static final int KHUDAWADIScript "Khudawadi".- See Also:
-
TIRHUTA
public static final int TIRHUTAScript "Tirhuta".- See Also:
-
WARANG_CITI
public static final int WARANG_CITIScript "Warang_Citi".- See Also:
-
AHOM
public static final int AHOMScript "Ahom".- See Also:
-
HATRAN
public static final int HATRANScript "Hatran".- See Also:
-
ANATOLIAN_HIEROGLYPHS
public static final int ANATOLIAN_HIEROGLYPHSScript "Anatolian_Hieroglyphs".- See Also:
-
OLD_HUNGARIAN
public static final int OLD_HUNGARIANScript "Old_Hungarian".- See Also:
-
MULTANI
public static final int MULTANIScript "Multani".- See Also:
-
SIGNWRITING
public static final int SIGNWRITINGScript "SignWriting".- See Also:
-
ADLAM
public static final int ADLAMScript "Adlam".- See Also:
-
BHAIKSUKI
public static final int BHAIKSUKIScript "Bhaiksuki".- See Also:
-
MARCHEN
public static final int MARCHENScript "Marchen".- See Also:
-
NEWA
public static final int NEWAScript "Newa".- See Also:
-
OSAGE
public static final int OSAGEScript "Osage".- See Also:
-
TANGUT
public static final int TANGUTScript "Tangut".- See Also:
-
MASARAM_GONDI
public static final int MASARAM_GONDIScript "Masaram_Gondi".- See Also:
-
NUSHU
public static final int NUSHUScript "Nushu".- See Also:
-
SOYOMBO
public static final int SOYOMBOScript "Soyombo".- See Also:
-
ZANABAZAR_SQUARE
public static final int ZANABAZAR_SQUAREScript "Zanabazar_Square".- See Also:
-
DOGRA
public static final int DOGRAScript "Dogra".- See Also:
-
GUNJALA_GONDI
public static final int GUNJALA_GONDIScript "Gunjala_Gondi".- See Also:
-
MAKASAR
public static final int MAKASARScript "Makasar".- See Also:
-
MEDEFAIDRIN
public static final int MEDEFAIDRINScript "Medefaidrin".- See Also:
-
HANIFI_ROHINGYA
public static final int HANIFI_ROHINGYAScript "Hanifi_Rohingya".- See Also:
-
SOGDIAN
public static final int SOGDIANScript "Sogdian".- See Also:
-
OLD_SOGDIAN
public static final int OLD_SOGDIANScript "Old_Sogdian".- See Also:
-
ELYMAIC
public static final int ELYMAICScript "Elymaic".- See Also:
-
NYIAKENG_PUACHUE_HMONG
public static final int NYIAKENG_PUACHUE_HMONGScript "Nyiakeng_Puachue_Hmong".- See Also:
-
NANDINAGARI
public static final int NANDINAGARIScript "Nandinagari".- See Also:
-
WANCHO
public static final int WANCHOScript "Wancho".- See Also:
-
CHORASMIAN
public static final int CHORASMIANScript "Chorasmian".- See Also:
-
DIVES_AKURU
public static final int DIVES_AKURUScript "Dives_Akuru".- See Also:
-
KHITAN_SMALL_SCRIPT
public static final int KHITAN_SMALL_SCRIPTScript "Khitan_Small_Script".- See Also:
-
YEZIDI
public static final int YEZIDIScript "Yezidi".- See Also:
-
CYPRO_MINOAN
public static final int CYPRO_MINOANScript "Cypro_Minoan".- See Also:
-
OLD_UYGHUR
public static final int OLD_UYGHURScript "Old_Uyghur".- See Also:
-
TANGSA
public static final int TANGSAScript "Tangsa".- See Also:
-
TOTO
public static final int TOTOScript "Toto".- See Also:
-
VITHKUQI
public static final int VITHKUQIScript "Vithkuqi".- See Also:
-
-
Method Details
-
getOpenTypeTag
public static int getOpenTypeTag(int script) Returns the OpenType tag of specified script as an integer in big endian byte order. The association between Unicode Script property and OpenType script tags is taken from the specification: https://docs.microsoft.com/en-us/typography/opentype/spec/scripttags . If more than one tag is associated with a script, then the latest one is returned. For example, Devanagari script has two tags, `deva` and `dev2`. So in this case, `dev2` will be returned. If no tag is associated with a script, then `DFLT` is returned.- Parameters:
script
- The script whose OpenType tag is returned.- Returns:
- The OpenType tag of specified script as an integer in big endian byte order.
-