Enumeration

GLibUnicodeScript

Declaration

enum GLib.UnicodeScript

Description [src]

The GUnicodeScript enumeration identifies different writing systems. The values correspond to the names as defined in the Unicode standard. The enumeration has been added in GLib 2.14, and is interchangeable with PangoScript.

Note that new types may be added in the future. Applications should be ready to handle unknown values. See Unicode Standard Annex #24: Script names.

Members

G_UNICODE_SCRIPT_INVALID_CODE

A value never returned from g_unichar_get_script().

  • Value: -1
  • Available since: 2.0
G_UNICODE_SCRIPT_COMMON

A character used by multiple different scripts.

  • Value: 0
  • Available since: 2.0
G_UNICODE_SCRIPT_INHERITED

A mark glyph that takes its script from the base glyph to which it is attached.

  • Value: 1
  • Available since: 2.0
G_UNICODE_SCRIPT_ARABIC

Arabic.

  • Value: 2
  • Available since: 2.0
G_UNICODE_SCRIPT_ARMENIAN

Armenian.

  • Value: 3
  • Available since: 2.0
G_UNICODE_SCRIPT_BENGALI

Bengali.

  • Value: 4
  • Available since: 2.0
G_UNICODE_SCRIPT_BOPOMOFO

Bopomofo.

  • Value: 5
  • Available since: 2.0
G_UNICODE_SCRIPT_CHEROKEE

Cherokee.

  • Value: 6
  • Available since: 2.0
G_UNICODE_SCRIPT_COPTIC

Coptic.

  • Value: 7
  • Available since: 2.0
G_UNICODE_SCRIPT_CYRILLIC

Cyrillic.

  • Value: 8
  • Available since: 2.0
G_UNICODE_SCRIPT_DESERET

Deseret.

  • Value: 9
  • Available since: 2.0
G_UNICODE_SCRIPT_DEVANAGARI

Devanagari.

  • Value: 10
  • Available since: 2.0
G_UNICODE_SCRIPT_ETHIOPIC

Ethiopic.

  • Value: 11
  • Available since: 2.0
G_UNICODE_SCRIPT_GEORGIAN

Georgian.

  • Value: 12
  • Available since: 2.0
G_UNICODE_SCRIPT_GOTHIC

Gothic.

  • Value: 13
  • Available since: 2.0
G_UNICODE_SCRIPT_GREEK

Greek.

  • Value: 14
  • Available since: 2.0
G_UNICODE_SCRIPT_GUJARATI

Gujarati.

  • Value: 15
  • Available since: 2.0
G_UNICODE_SCRIPT_GURMUKHI

Gurmukhi.

  • Value: 16
  • Available since: 2.0
G_UNICODE_SCRIPT_HAN

Han.

  • Value: 17
  • Available since: 2.0
G_UNICODE_SCRIPT_HANGUL

Hangul.

  • Value: 18
  • Available since: 2.0
G_UNICODE_SCRIPT_HEBREW

Hebrew.

  • Value: 19
  • Available since: 2.0
G_UNICODE_SCRIPT_HIRAGANA

Hiragana.

  • Value: 20
  • Available since: 2.0
G_UNICODE_SCRIPT_KANNADA

Kannada.

  • Value: 21
  • Available since: 2.0
G_UNICODE_SCRIPT_KATAKANA

Katakana.

  • Value: 22
  • Available since: 2.0
G_UNICODE_SCRIPT_KHMER

Khmer.

  • Value: 23
  • Available since: 2.0
G_UNICODE_SCRIPT_LAO

Lao.

  • Value: 24
  • Available since: 2.0
G_UNICODE_SCRIPT_LATIN

Latin.

  • Value: 25
  • Available since: 2.0
G_UNICODE_SCRIPT_MALAYALAM

Malayalam.

  • Value: 26
  • Available since: 2.0
G_UNICODE_SCRIPT_MONGOLIAN

Mongolian.

  • Value: 27
  • Available since: 2.0
G_UNICODE_SCRIPT_MYANMAR

Myanmar.

  • Value: 28
  • Available since: 2.0
G_UNICODE_SCRIPT_OGHAM

Ogham.

  • Value: 29
  • Available since: 2.0
G_UNICODE_SCRIPT_OLD_ITALIC

Old Italic.

  • Value: 30
  • Available since: 2.0
G_UNICODE_SCRIPT_ORIYA

Oriya.

  • Value: 31
  • Available since: 2.0
G_UNICODE_SCRIPT_RUNIC

Runic.

  • Value: 32
  • Available since: 2.0
G_UNICODE_SCRIPT_SINHALA

Sinhala.

  • Value: 33
  • Available since: 2.0
G_UNICODE_SCRIPT_SYRIAC

Syriac.

  • Value: 34
  • Available since: 2.0
G_UNICODE_SCRIPT_TAMIL

Tamil.

  • Value: 35
  • Available since: 2.0
G_UNICODE_SCRIPT_TELUGU

Telugu.

  • Value: 36
  • Available since: 2.0
G_UNICODE_SCRIPT_THAANA

Thaana.

  • Value: 37
  • Available since: 2.0
G_UNICODE_SCRIPT_THAI

Thai.

  • Value: 38
  • Available since: 2.0
G_UNICODE_SCRIPT_TIBETAN

Tibetan.

  • Value: 39
  • Available since: 2.0
G_UNICODE_SCRIPT_CANADIAN_ABORIGINAL

Canadian Aboriginal.

  • Value: 40
  • Available since: 2.0
G_UNICODE_SCRIPT_YI

Yi.

  • Value: 41
  • Available since: 2.0
G_UNICODE_SCRIPT_TAGALOG

Tagalog.

  • Value: 42
  • Available since: 2.0
G_UNICODE_SCRIPT_HANUNOO

Hanunoo.

  • Value: 43
  • Available since: 2.0
G_UNICODE_SCRIPT_BUHID

Buhid.

  • Value: 44
  • Available since: 2.0
G_UNICODE_SCRIPT_TAGBANWA

Tagbanwa.

  • Value: 45
  • Available since: 2.0
G_UNICODE_SCRIPT_BRAILLE

Braille.

  • Value: 46
  • Available since: 2.0
G_UNICODE_SCRIPT_CYPRIOT

Cypriot.

  • Value: 47
  • Available since: 2.0
G_UNICODE_SCRIPT_LIMBU

Limbu.

  • Value: 48
  • Available since: 2.0
G_UNICODE_SCRIPT_OSMANYA

Osmanya.

  • Value: 49
  • Available since: 2.0
G_UNICODE_SCRIPT_SHAVIAN

Shavian.

  • Value: 50
  • Available since: 2.0
G_UNICODE_SCRIPT_LINEAR_B

Linear B.

  • Value: 51
  • Available since: 2.0
G_UNICODE_SCRIPT_TAI_LE

Tai Le.

  • Value: 52
  • Available since: 2.0
G_UNICODE_SCRIPT_UGARITIC

Ugaritic.

  • Value: 53
  • Available since: 2.0
G_UNICODE_SCRIPT_NEW_TAI_LUE

New Tai Lue.

  • Value: 54
  • Available since: 2.0
G_UNICODE_SCRIPT_BUGINESE

Buginese.

  • Value: 55
  • Available since: 2.0
G_UNICODE_SCRIPT_GLAGOLITIC

Glagolitic.

  • Value: 56
  • Available since: 2.0
G_UNICODE_SCRIPT_TIFINAGH

Tifinagh.

  • Value: 57
  • Available since: 2.0
G_UNICODE_SCRIPT_SYLOTI_NAGRI

Syloti Nagri.

  • Value: 58
  • Available since: 2.0
G_UNICODE_SCRIPT_OLD_PERSIAN

Old Persian.

  • Value: 59
  • Available since: 2.0
G_UNICODE_SCRIPT_KHAROSHTHI

Kharoshthi.

  • Value: 60
  • Available since: 2.0
G_UNICODE_SCRIPT_UNKNOWN

An unassigned code point.

  • Value: 61
  • Available since: 2.0
G_UNICODE_SCRIPT_BALINESE

Balinese.

  • Value: 62
  • Available since: 2.0
G_UNICODE_SCRIPT_CUNEIFORM

Cuneiform.

  • Value: 63
  • Available since: 2.0
G_UNICODE_SCRIPT_PHOENICIAN

Phoenician.

  • Value: 64
  • Available since: 2.0
G_UNICODE_SCRIPT_PHAGS_PA

Phags-pa.

  • Value: 65
  • Available since: 2.0
G_UNICODE_SCRIPT_NKO

N’Ko.

  • Value: 66
  • Available since: 2.0
G_UNICODE_SCRIPT_KAYAH_LI

Kayah Li. Since 2.16.3.

  • Value: 67
  • Available since: 2.0
G_UNICODE_SCRIPT_LEPCHA

Lepcha. Since 2.16.3.

  • Value: 68
  • Available since: 2.0
G_UNICODE_SCRIPT_REJANG

Rejang. Since 2.16.3.

  • Value: 69
  • Available since: 2.0
G_UNICODE_SCRIPT_SUNDANESE

Sundanese. Since 2.16.3.

  • Value: 70
  • Available since: 2.0
G_UNICODE_SCRIPT_SAURASHTRA

Saurashtra. Since 2.16.3.

  • Value: 71
  • Available since: 2.0
G_UNICODE_SCRIPT_CHAM

Cham. Since 2.16.3.

  • Value: 72
  • Available since: 2.0
G_UNICODE_SCRIPT_OL_CHIKI

Ol Chiki. Since 2.16.3.

  • Value: 73
  • Available since: 2.0
G_UNICODE_SCRIPT_VAI

Vai. Since 2.16.3.

  • Value: 74
  • Available since: 2.0
G_UNICODE_SCRIPT_CARIAN

Carian. Since 2.16.3.

  • Value: 75
  • Available since: 2.0
G_UNICODE_SCRIPT_LYCIAN

Lycian. Since 2.16.3.

  • Value: 76
  • Available since: 2.0
G_UNICODE_SCRIPT_LYDIAN

Lydian. Since 2.16.3.

  • Value: 77
  • Available since: 2.0
G_UNICODE_SCRIPT_AVESTAN

Avestan. Since 2.26.

  • Value: 78
  • Available since: 2.0
G_UNICODE_SCRIPT_BAMUM

Bamum. Since 2.26.

  • Value: 79
  • Available since: 2.0
G_UNICODE_SCRIPT_EGYPTIAN_HIEROGLYPHS

Egyptian Hieroglpyhs. Since 2.26.

  • Value: 80
  • Available since: 2.0
G_UNICODE_SCRIPT_IMPERIAL_ARAMAIC

Imperial Aramaic. Since 2.26.

  • Value: 81
  • Available since: 2.0
G_UNICODE_SCRIPT_INSCRIPTIONAL_PAHLAVI

Inscriptional Pahlavi. Since 2.26.

  • Value: 82
  • Available since: 2.0
G_UNICODE_SCRIPT_INSCRIPTIONAL_PARTHIAN

Inscriptional Parthian. Since 2.26.

  • Value: 83
  • Available since: 2.0
G_UNICODE_SCRIPT_JAVANESE

Javanese. Since 2.26.

  • Value: 84
  • Available since: 2.0
G_UNICODE_SCRIPT_KAITHI

Kaithi. Since 2.26.

  • Value: 85
  • Available since: 2.0
G_UNICODE_SCRIPT_LISU

Lisu. Since 2.26.

  • Value: 86
  • Available since: 2.0
G_UNICODE_SCRIPT_MEETEI_MAYEK

Meetei Mayek. Since 2.26.

  • Value: 87
  • Available since: 2.0
G_UNICODE_SCRIPT_OLD_SOUTH_ARABIAN

Old South Arabian. Since 2.26.

  • Value: 88
  • Available since: 2.0
G_UNICODE_SCRIPT_OLD_TURKIC

Old Turkic. Since 2.28.

  • Value: 89
  • Available since: 2.0
G_UNICODE_SCRIPT_SAMARITAN

Samaritan. Since 2.26.

  • Value: 90
  • Available since: 2.0
G_UNICODE_SCRIPT_TAI_THAM

Tai Tham. Since 2.26.

  • Value: 91
  • Available since: 2.0
G_UNICODE_SCRIPT_TAI_VIET

Tai Viet. Since 2.26.

  • Value: 92
  • Available since: 2.0
G_UNICODE_SCRIPT_BATAK

Batak. Since 2.28.

  • Value: 93
  • Available since: 2.0
G_UNICODE_SCRIPT_BRAHMI

Brahmi. Since 2.28.

  • Value: 94
  • Available since: 2.0
G_UNICODE_SCRIPT_MANDAIC

Mandaic. Since 2.28.

  • Value: 95
  • Available since: 2.0
G_UNICODE_SCRIPT_CHAKMA

Chakma. Since: 2.32.

  • Value: 96
  • Available since: 2.0
G_UNICODE_SCRIPT_MEROITIC_CURSIVE

Meroitic Cursive. Since: 2.32.

  • Value: 97
  • Available since: 2.0
G_UNICODE_SCRIPT_MEROITIC_HIEROGLYPHS

Meroitic Hieroglyphs. Since: 2.32.

  • Value: 98
  • Available since: 2.0
G_UNICODE_SCRIPT_MIAO

Miao. Since: 2.32.

  • Value: 99
  • Available since: 2.0
G_UNICODE_SCRIPT_SHARADA

Sharada. Since: 2.32.

  • Value: 100
  • Available since: 2.0
G_UNICODE_SCRIPT_SORA_SOMPENG

Sora Sompeng. Since: 2.32.

  • Value: 101
  • Available since: 2.0
G_UNICODE_SCRIPT_TAKRI

Takri. Since: 2.32.

  • Value: 102
  • Available since: 2.0
G_UNICODE_SCRIPT_BASSA_VAH

Bassa. Since: 2.42.

  • Value: 103
  • Available since: 2.0
G_UNICODE_SCRIPT_CAUCASIAN_ALBANIAN

Caucasian Albanian. Since: 2.42.

  • Value: 104
  • Available since: 2.0
G_UNICODE_SCRIPT_DUPLOYAN

Duployan. Since: 2.42.

  • Value: 105
  • Available since: 2.0
G_UNICODE_SCRIPT_ELBASAN

Elbasan. Since: 2.42.

  • Value: 106
  • Available since: 2.0
G_UNICODE_SCRIPT_GRANTHA

Grantha. Since: 2.42.

  • Value: 107
  • Available since: 2.0
G_UNICODE_SCRIPT_KHOJKI

Kjohki. Since: 2.42.

  • Value: 108
  • Available since: 2.0
G_UNICODE_SCRIPT_KHUDAWADI

Khudawadi, Sindhi. Since: 2.42.

  • Value: 109
  • Available since: 2.0
G_UNICODE_SCRIPT_LINEAR_A

Linear A. Since: 2.42.

  • Value: 110
  • Available since: 2.0
G_UNICODE_SCRIPT_MAHAJANI

Mahajani. Since: 2.42.

  • Value: 111
  • Available since: 2.0
G_UNICODE_SCRIPT_MANICHAEAN

Manichaean. Since: 2.42.

  • Value: 112
  • Available since: 2.0
G_UNICODE_SCRIPT_MENDE_KIKAKUI

Mende Kikakui. Since: 2.42.

  • Value: 113
  • Available since: 2.0
G_UNICODE_SCRIPT_MODI

Modi. Since: 2.42.

  • Value: 114
  • Available since: 2.0
G_UNICODE_SCRIPT_MRO

Mro. Since: 2.42.

  • Value: 115
  • Available since: 2.0
G_UNICODE_SCRIPT_NABATAEAN

Nabataean. Since: 2.42.

  • Value: 116
  • Available since: 2.0
G_UNICODE_SCRIPT_OLD_NORTH_ARABIAN

Old North Arabian. Since: 2.42.

  • Value: 117
  • Available since: 2.0
G_UNICODE_SCRIPT_OLD_PERMIC

Old Permic. Since: 2.42.

  • Value: 118
  • Available since: 2.0
G_UNICODE_SCRIPT_PAHAWH_HMONG

Pahawh Hmong. Since: 2.42.

  • Value: 119
  • Available since: 2.0
G_UNICODE_SCRIPT_PALMYRENE

Palmyrene. Since: 2.42.

  • Value: 120
  • Available since: 2.0
G_UNICODE_SCRIPT_PAU_CIN_HAU

Pau Cin Hau. Since: 2.42.

  • Value: 121
  • Available since: 2.0
G_UNICODE_SCRIPT_PSALTER_PAHLAVI

Psalter Pahlavi. Since: 2.42.

  • Value: 122
  • Available since: 2.0
G_UNICODE_SCRIPT_SIDDHAM

Siddham. Since: 2.42.

  • Value: 123
  • Available since: 2.0
G_UNICODE_SCRIPT_TIRHUTA

Tirhuta. Since: 2.42.

  • Value: 124
  • Available since: 2.0
G_UNICODE_SCRIPT_WARANG_CITI

Warang Citi. Since: 2.42.

  • Value: 125
  • Available since: 2.0
G_UNICODE_SCRIPT_AHOM

Ahom. Since: 2.48.

  • Value: 126
  • Available since: 2.0
G_UNICODE_SCRIPT_ANATOLIAN_HIEROGLYPHS

Anatolian Hieroglyphs. Since: 2.48.

  • Value: 127
  • Available since: 2.0
G_UNICODE_SCRIPT_HATRAN

Hatran. Since: 2.48.

  • Value: 128
  • Available since: 2.0
G_UNICODE_SCRIPT_MULTANI

Multani. Since: 2.48.

  • Value: 129
  • Available since: 2.0
G_UNICODE_SCRIPT_OLD_HUNGARIAN

Old Hungarian. Since: 2.48.

  • Value: 130
  • Available since: 2.0
G_UNICODE_SCRIPT_SIGNWRITING

Signwriting. Since: 2.48.

  • Value: 131
  • Available since: 2.0
G_UNICODE_SCRIPT_ADLAM

Adlam. Since: 2.50.

  • Value: 132
  • Available since: 2.0
G_UNICODE_SCRIPT_BHAIKSUKI

Bhaiksuki. Since: 2.50.

  • Value: 133
  • Available since: 2.0
G_UNICODE_SCRIPT_MARCHEN

Marchen. Since: 2.50.

  • Value: 134
  • Available since: 2.0
G_UNICODE_SCRIPT_NEWA

Newa. Since: 2.50.

  • Value: 135
  • Available since: 2.0
G_UNICODE_SCRIPT_OSAGE

Osage. Since: 2.50.

  • Value: 136
  • Available since: 2.0
G_UNICODE_SCRIPT_TANGUT

Tangut. Since: 2.50.

  • Value: 137
  • Available since: 2.0
G_UNICODE_SCRIPT_MASARAM_GONDI

Masaram Gondi. Since: 2.54.

  • Value: 138
  • Available since: 2.0
G_UNICODE_SCRIPT_NUSHU

Nushu. Since: 2.54.

  • Value: 139
  • Available since: 2.0
G_UNICODE_SCRIPT_SOYOMBO

Soyombo. Since: 2.54.

  • Value: 140
  • Available since: 2.0
G_UNICODE_SCRIPT_ZANABAZAR_SQUARE

Zanabazar Square. Since: 2.54.

  • Value: 141
  • Available since: 2.0
G_UNICODE_SCRIPT_DOGRA

Dogra. Since: 2.58.

  • Value: 142
  • Available since: 2.0
G_UNICODE_SCRIPT_GUNJALA_GONDI

Gunjala Gondi. Since: 2.58.

  • Value: 143
  • Available since: 2.0
G_UNICODE_SCRIPT_HANIFI_ROHINGYA

Hanifi Rohingya. Since: 2.58.

  • Value: 144
  • Available since: 2.0
G_UNICODE_SCRIPT_MAKASAR

Makasar. Since: 2.58.

  • Value: 145
  • Available since: 2.0
G_UNICODE_SCRIPT_MEDEFAIDRIN

Medefaidrin. Since: 2.58.

  • Value: 146
  • Available since: 2.0
G_UNICODE_SCRIPT_OLD_SOGDIAN

Old Sogdian. Since: 2.58.

  • Value: 147
  • Available since: 2.0
G_UNICODE_SCRIPT_SOGDIAN

Sogdian. Since: 2.58.

  • Value: 148
  • Available since: 2.0
G_UNICODE_SCRIPT_ELYMAIC

Elym. Since: 2.62.

  • Value: 149
  • Available since: 2.0
G_UNICODE_SCRIPT_NANDINAGARI

Nand. Since: 2.62.

  • Value: 150
  • Available since: 2.0
G_UNICODE_SCRIPT_NYIAKENG_PUACHUE_HMONG

Rohg. Since: 2.62.

  • Value: 151
  • Available since: 2.0
G_UNICODE_SCRIPT_WANCHO

Wcho. Since: 2.62.

  • Value: 152
  • Available since: 2.0
G_UNICODE_SCRIPT_CHORASMIAN

Chorasmian. Since: 2.66.

  • Value: 153
  • Available since: 2.0
G_UNICODE_SCRIPT_DIVES_AKURU

Dives Akuru. Since: 2.66.

  • Value: 154
  • Available since: 2.0
G_UNICODE_SCRIPT_KHITAN_SMALL_SCRIPT

Khitan small script. Since: 2.66.

  • Value: 155
  • Available since: 2.0
G_UNICODE_SCRIPT_YEZIDI

Yezidi. Since: 2.66.

  • Value: 156
  • Available since: 2.0
G_UNICODE_SCRIPT_CYPRO_MINOAN

Cypro-Minoan. Since: 2.72.

  • Value: 157
  • Available since: 2.0
G_UNICODE_SCRIPT_OLD_UYGHUR

Old Uyghur. Since: 2.72.

  • Value: 158
  • Available since: 2.0
G_UNICODE_SCRIPT_TANGSA

Tangsa. Since: 2.72.

  • Value: 159
  • Available since: 2.0
G_UNICODE_SCRIPT_TOTO

Toto. Since: 2.72.

  • Value: 160
  • Available since: 2.0
G_UNICODE_SCRIPT_VITHKUQI

Vithkuqi. Since: 2.72.

  • Value: 161
  • Available since: 2.0
G_UNICODE_SCRIPT_MATH

Mathematical notation. Since: 2.72.

  • Value: 162
  • Available since: 2.0
G_UNICODE_SCRIPT_KAWI

Kawi. Since 2.74.

  • Value: 163
  • Available since: 2.0
G_UNICODE_SCRIPT_NAG_MUNDARI

Nag Mundari. Since 2.74.

  • Value: 164
  • Available since: 2.0
G_UNICODE_SCRIPT_TODHRI

Todhri. Since: 2.84.

  • Value: 165
  • Available since: 2.0
G_UNICODE_SCRIPT_GARAY

Garay. Since: 2.84.

  • Value: 166
  • Available since: 2.0
G_UNICODE_SCRIPT_TULU_TIGALARI

Tulu-Tigalari. Since: 2.84.

  • Value: 167
  • Available since: 2.0
G_UNICODE_SCRIPT_SUNUWAR

Sunuwar. Since: 2.84.

  • Value: 168
  • Available since: 2.0
G_UNICODE_SCRIPT_GURUNG_KHEMA

Gurung Khema. Since: 2.84.

  • Value: 169
  • Available since: 2.0
G_UNICODE_SCRIPT_KIRAT_RAI

Kirat Rai. Since: 2.84.

  • Value: 170
  • Available since: 2.0
G_UNICODE_SCRIPT_OL_ONAL

Ol Onal. Since: 2.84.

  • Value: 171
  • Available since: 2.0

Type functions

g_unicode_script_from_iso15924

Looks up the Unicode script for iso15924. ISO 15924 assigns four-letter codes to scripts. For example, the code for Arabic is ‘Arab’. This function accepts four letter codes encoded as a guint32 in a big-endian fashion. That is, the code expected for Arabic is 0x41726162 (0x41 is ASCII code for ‘A’, 0x72 is ASCII code for ‘r’, etc).

since: 2.30

g_unicode_script_to_iso15924

Looks up the ISO 15924 code for script. ISO 15924 assigns four-letter codes to scripts. For example, the code for Arabic is ‘Arab’. The four letter codes are encoded as a guint32 by this function in a big-endian fashion. That is, the code returned for Arabic is 0x41726162 (0x41 is ASCII code for ‘A’, 0x72 is ASCII code for ‘r’, etc).

since: 2.30