Pango.Script
Description: Reference for Pango.Script

### Enumeration

# PangoScript

#### Declaration

    enum Pango.Script

#### Description [src]

The `PangoScript` enumeration identifies different writing systems.

The values correspond to the names as defined in the Unicode standard. See Unicode Standard Annex 24: Script names

Note that this enumeration is deprecated and will not be updated to include values in newer versions of the Unicode standard. Applications should use the `GUnicodeScript` enumeration instead, whose values are interchangeable with `PangoScript`.

#### Members

`PANGO_SCRIPT_INVALID_CODE`

  A value never returned from `pango_script_for_unichar()`

  - Value: `-1`
  - Nickname: `invalid-code`
  - Available since: 1.0
`PANGO_SCRIPT_COMMON`

  A character used by multiple different scripts.

  - Value: `0`
  - Nickname: `common`
  - Available since: 1.0
`PANGO_SCRIPT_INHERITED`

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

  - Value: `1`
  - Nickname: `inherited`
  - Available since: 1.0
`PANGO_SCRIPT_ARABIC`

  Arabic.

  - Value: `2`
  - Nickname: `arabic`
  - Available since: 1.0
`PANGO_SCRIPT_ARMENIAN`

  Armenian.

  - Value: `3`
  - Nickname: `armenian`
  - Available since: 1.0
`PANGO_SCRIPT_BENGALI`

  Bengali.

  - Value: `4`
  - Nickname: `bengali`
  - Available since: 1.0
`PANGO_SCRIPT_BOPOMOFO`

  Bopomofo.

  - Value: `5`
  - Nickname: `bopomofo`
  - Available since: 1.0
`PANGO_SCRIPT_CHEROKEE`

  Cherokee.

  - Value: `6`
  - Nickname: `cherokee`
  - Available since: 1.0
`PANGO_SCRIPT_COPTIC`

  Coptic.

  - Value: `7`
  - Nickname: `coptic`
  - Available since: 1.0
`PANGO_SCRIPT_CYRILLIC`

  Cyrillic.

  - Value: `8`
  - Nickname: `cyrillic`
  - Available since: 1.0
`PANGO_SCRIPT_DESERET`

  Deseret.

  - Value: `9`
  - Nickname: `deseret`
  - Available since: 1.0
`PANGO_SCRIPT_DEVANAGARI`

  Devanagari.

  - Value: `10`
  - Nickname: `devanagari`
  - Available since: 1.0
`PANGO_SCRIPT_ETHIOPIC`

  Ethiopic.

  - Value: `11`
  - Nickname: `ethiopic`
  - Available since: 1.0
`PANGO_SCRIPT_GEORGIAN`

  Georgian.

  - Value: `12`
  - Nickname: `georgian`
  - Available since: 1.0
`PANGO_SCRIPT_GOTHIC`

  Gothic.

  - Value: `13`
  - Nickname: `gothic`
  - Available since: 1.0
`PANGO_SCRIPT_GREEK`

  Greek.

  - Value: `14`
  - Nickname: `greek`
  - Available since: 1.0
`PANGO_SCRIPT_GUJARATI`

  Gujarati.

  - Value: `15`
  - Nickname: `gujarati`
  - Available since: 1.0
`PANGO_SCRIPT_GURMUKHI`

  Gurmukhi.

  - Value: `16`
  - Nickname: `gurmukhi`
  - Available since: 1.0
`PANGO_SCRIPT_HAN`

  Han.

  - Value: `17`
  - Nickname: `han`
  - Available since: 1.0
`PANGO_SCRIPT_HANGUL`

  Hangul.

  - Value: `18`
  - Nickname: `hangul`
  - Available since: 1.0
`PANGO_SCRIPT_HEBREW`

  Hebrew.

  - Value: `19`
  - Nickname: `hebrew`
  - Available since: 1.0
`PANGO_SCRIPT_HIRAGANA`

  Hiragana.

  - Value: `20`
  - Nickname: `hiragana`
  - Available since: 1.0
`PANGO_SCRIPT_KANNADA`

  Kannada.

  - Value: `21`
  - Nickname: `kannada`
  - Available since: 1.0
`PANGO_SCRIPT_KATAKANA`

  Katakana.

  - Value: `22`
  - Nickname: `katakana`
  - Available since: 1.0
`PANGO_SCRIPT_KHMER`

  Khmer.

  - Value: `23`
  - Nickname: `khmer`
  - Available since: 1.0
`PANGO_SCRIPT_LAO`

  Lao.

  - Value: `24`
  - Nickname: `lao`
  - Available since: 1.0
`PANGO_SCRIPT_LATIN`

  Latin.

  - Value: `25`
  - Nickname: `latin`
  - Available since: 1.0
`PANGO_SCRIPT_MALAYALAM`

  Malayalam.

  - Value: `26`
  - Nickname: `malayalam`
  - Available since: 1.0
`PANGO_SCRIPT_MONGOLIAN`

  Mongolian.

  - Value: `27`
  - Nickname: `mongolian`
  - Available since: 1.0
`PANGO_SCRIPT_MYANMAR`

  Myanmar.

  - Value: `28`
  - Nickname: `myanmar`
  - Available since: 1.0
`PANGO_SCRIPT_OGHAM`

  Ogham.

  - Value: `29`
  - Nickname: `ogham`
  - Available since: 1.0
`PANGO_SCRIPT_OLD_ITALIC`

  Old Italic.

  - Value: `30`
  - Nickname: `old-italic`
  - Available since: 1.0
`PANGO_SCRIPT_ORIYA`

  Oriya.

  - Value: `31`
  - Nickname: `oriya`
  - Available since: 1.0
`PANGO_SCRIPT_RUNIC`

  Runic.

  - Value: `32`
  - Nickname: `runic`
  - Available since: 1.0
`PANGO_SCRIPT_SINHALA`

  Sinhala.

  - Value: `33`
  - Nickname: `sinhala`
  - Available since: 1.0
`PANGO_SCRIPT_SYRIAC`

  Syriac.

  - Value: `34`
  - Nickname: `syriac`
  - Available since: 1.0
`PANGO_SCRIPT_TAMIL`

  Tamil.

  - Value: `35`
  - Nickname: `tamil`
  - Available since: 1.0
`PANGO_SCRIPT_TELUGU`

  Telugu.

  - Value: `36`
  - Nickname: `telugu`
  - Available since: 1.0
`PANGO_SCRIPT_THAANA`

  Thaana.

  - Value: `37`
  - Nickname: `thaana`
  - Available since: 1.0
`PANGO_SCRIPT_THAI`

  Thai.

  - Value: `38`
  - Nickname: `thai`
  - Available since: 1.0
`PANGO_SCRIPT_TIBETAN`

  Tibetan.

  - Value: `39`
  - Nickname: `tibetan`
  - Available since: 1.0
`PANGO_SCRIPT_CANADIAN_ABORIGINAL`

  Canadian Aboriginal.

  - Value: `40`
  - Nickname: `canadian-aboriginal`
  - Available since: 1.0
`PANGO_SCRIPT_YI`

  Yi.

  - Value: `41`
  - Nickname: `yi`
  - Available since: 1.0
`PANGO_SCRIPT_TAGALOG`

  Tagalog.

  - Value: `42`
  - Nickname: `tagalog`
  - Available since: 1.0
`PANGO_SCRIPT_HANUNOO`

  Hanunoo.

  - Value: `43`
  - Nickname: `hanunoo`
  - Available since: 1.0
`PANGO_SCRIPT_BUHID`

  Buhid.

  - Value: `44`
  - Nickname: `buhid`
  - Available since: 1.0
`PANGO_SCRIPT_TAGBANWA`

  Tagbanwa.

  - Value: `45`
  - Nickname: `tagbanwa`
  - Available since: 1.0
`PANGO_SCRIPT_BRAILLE`

  Braille.

  - Value: `46`
  - Nickname: `braille`
  - Available since: 1.0
`PANGO_SCRIPT_CYPRIOT`

  Cypriot.

  - Value: `47`
  - Nickname: `cypriot`
  - Available since: 1.0
`PANGO_SCRIPT_LIMBU`

  Limbu.

  - Value: `48`
  - Nickname: `limbu`
  - Available since: 1.0
`PANGO_SCRIPT_OSMANYA`

  Osmanya.

  - Value: `49`
  - Nickname: `osmanya`
  - Available since: 1.0
`PANGO_SCRIPT_SHAVIAN`

  Shavian.

  - Value: `50`
  - Nickname: `shavian`
  - Available since: 1.0
`PANGO_SCRIPT_LINEAR_B`

  Linear B.

  - Value: `51`
  - Nickname: `linear-b`
  - Available since: 1.0
`PANGO_SCRIPT_TAI_LE`

  Tai Le.

  - Value: `52`
  - Nickname: `tai-le`
  - Available since: 1.0
`PANGO_SCRIPT_UGARITIC`

  Ugaritic.

  - Value: `53`
  - Nickname: `ugaritic`
  - Available since: 1.0
`PANGO_SCRIPT_NEW_TAI_LUE`

  New Tai Lue. Since 1.10

  - Value: `54`
  - Nickname: `new-tai-lue`
  - Available since: 1.0
`PANGO_SCRIPT_BUGINESE`

  Buginese. Since 1.10

  - Value: `55`
  - Nickname: `buginese`
  - Available since: 1.0
`PANGO_SCRIPT_GLAGOLITIC`

  Glagolitic. Since 1.10

  - Value: `56`
  - Nickname: `glagolitic`
  - Available since: 1.0
`PANGO_SCRIPT_TIFINAGH`

  Tifinagh. Since 1.10

  - Value: `57`
  - Nickname: `tifinagh`
  - Available since: 1.0
`PANGO_SCRIPT_SYLOTI_NAGRI`

  Syloti Nagri. Since 1.10

  - Value: `58`
  - Nickname: `syloti-nagri`
  - Available since: 1.0
`PANGO_SCRIPT_OLD_PERSIAN`

  Old Persian. Since 1.10

  - Value: `59`
  - Nickname: `old-persian`
  - Available since: 1.0
`PANGO_SCRIPT_KHAROSHTHI`

  Kharoshthi. Since 1.10

  - Value: `60`
  - Nickname: `kharoshthi`
  - Available since: 1.0
`PANGO_SCRIPT_UNKNOWN`

  An unassigned code point. Since 1.14

  - Value: `61`
  - Nickname: `unknown`
  - Available since: 1.0
`PANGO_SCRIPT_BALINESE`

  Balinese. Since 1.14

  - Value: `62`
  - Nickname: `balinese`
  - Available since: 1.0
`PANGO_SCRIPT_CUNEIFORM`

  Cuneiform. Since 1.14

  - Value: `63`
  - Nickname: `cuneiform`
  - Available since: 1.0
`PANGO_SCRIPT_PHOENICIAN`

  Phoenician. Since 1.14

  - Value: `64`
  - Nickname: `phoenician`
  - Available since: 1.0
`PANGO_SCRIPT_PHAGS_PA`

  Phags-pa. Since 1.14

  - Value: `65`
  - Nickname: `phags-pa`
  - Available since: 1.0
`PANGO_SCRIPT_NKO`

  N’Ko. Since 1.14

  - Value: `66`
  - Nickname: `nko`
  - Available since: 1.0
`PANGO_SCRIPT_KAYAH_LI`

  Kayah Li. Since 1.20.1

  - Value: `67`
  - Nickname: `kayah-li`
  - Available since: 1.0
`PANGO_SCRIPT_LEPCHA`

  Lepcha. Since 1.20.1

  - Value: `68`
  - Nickname: `lepcha`
  - Available since: 1.0
`PANGO_SCRIPT_REJANG`

  Rejang. Since 1.20.1

  - Value: `69`
  - Nickname: `rejang`
  - Available since: 1.0
`PANGO_SCRIPT_SUNDANESE`

  Sundanese. Since 1.20.1

  - Value: `70`
  - Nickname: `sundanese`
  - Available since: 1.0
`PANGO_SCRIPT_SAURASHTRA`

  Saurashtra. Since 1.20.1

  - Value: `71`
  - Nickname: `saurashtra`
  - Available since: 1.0
`PANGO_SCRIPT_CHAM`

  Cham. Since 1.20.1

  - Value: `72`
  - Nickname: `cham`
  - Available since: 1.0
`PANGO_SCRIPT_OL_CHIKI`

  Ol Chiki. Since 1.20.1

  - Value: `73`
  - Nickname: `ol-chiki`
  - Available since: 1.0
`PANGO_SCRIPT_VAI`

  Vai. Since 1.20.1

  - Value: `74`
  - Nickname: `vai`
  - Available since: 1.0
`PANGO_SCRIPT_CARIAN`

  Carian. Since 1.20.1

  - Value: `75`
  - Nickname: `carian`
  - Available since: 1.0
`PANGO_SCRIPT_LYCIAN`

  Lycian. Since 1.20.1

  - Value: `76`
  - Nickname: `lycian`
  - Available since: 1.0
`PANGO_SCRIPT_LYDIAN`

  Lydian. Since 1.20.1

  - Value: `77`
  - Nickname: `lydian`
  - Available since: 1.0
`PANGO_SCRIPT_BATAK`

  Batak. Since 1.32

  - Value: `78`
  - Nickname: `batak`
  - Available since: 1.0
`PANGO_SCRIPT_BRAHMI`

  Brahmi. Since 1.32

  - Value: `79`
  - Nickname: `brahmi`
  - Available since: 1.0
`PANGO_SCRIPT_MANDAIC`

  Mandaic. Since 1.32

  - Value: `80`
  - Nickname: `mandaic`
  - Available since: 1.0
`PANGO_SCRIPT_CHAKMA`

  Chakma. Since: 1.32

  - Value: `81`
  - Nickname: `chakma`
  - Available since: 1.0
`PANGO_SCRIPT_MEROITIC_CURSIVE`

  Meroitic Cursive. Since: 1.32

  - Value: `82`
  - Nickname: `meroitic-cursive`
  - Available since: 1.0
`PANGO_SCRIPT_MEROITIC_HIEROGLYPHS`

  Meroitic Hieroglyphs. Since: 1.32

  - Value: `83`
  - Nickname: `meroitic-hieroglyphs`
  - Available since: 1.0
`PANGO_SCRIPT_MIAO`

  Miao. Since: 1.32

  - Value: `84`
  - Nickname: `miao`
  - Available since: 1.0
`PANGO_SCRIPT_SHARADA`

  Sharada. Since: 1.32

  - Value: `85`
  - Nickname: `sharada`
  - Available since: 1.0
`PANGO_SCRIPT_SORA_SOMPENG`

  Sora Sompeng. Since: 1.32

  - Value: `86`
  - Nickname: `sora-sompeng`
  - Available since: 1.0
`PANGO_SCRIPT_TAKRI`

  Takri. Since: 1.32

  - Value: `87`
  - Nickname: `takri`
  - Available since: 1.0
`PANGO_SCRIPT_BASSA_VAH`

  Bassa. Since: 1.40

  - Value: `88`
  - Nickname: `bassa-vah`
  - Available since: 1.0
`PANGO_SCRIPT_CAUCASIAN_ALBANIAN`

  Caucasian Albanian. Since: 1.40

  - Value: `89`
  - Nickname: `caucasian-albanian`
  - Available since: 1.0
`PANGO_SCRIPT_DUPLOYAN`

  Duployan. Since: 1.40

  - Value: `90`
  - Nickname: `duployan`
  - Available since: 1.0
`PANGO_SCRIPT_ELBASAN`

  Elbasan. Since: 1.40

  - Value: `91`
  - Nickname: `elbasan`
  - Available since: 1.0
`PANGO_SCRIPT_GRANTHA`

  Grantha. Since: 1.40

  - Value: `92`
  - Nickname: `grantha`
  - Available since: 1.0
`PANGO_SCRIPT_KHOJKI`

  Kjohki. Since: 1.40

  - Value: `93`
  - Nickname: `khojki`
  - Available since: 1.0
`PANGO_SCRIPT_KHUDAWADI`

  Khudawadi, Sindhi. Since: 1.40

  - Value: `94`
  - Nickname: `khudawadi`
  - Available since: 1.0
`PANGO_SCRIPT_LINEAR_A`

  Linear A. Since: 1.40

  - Value: `95`
  - Nickname: `linear-a`
  - Available since: 1.0
`PANGO_SCRIPT_MAHAJANI`

  Mahajani. Since: 1.40

  - Value: `96`
  - Nickname: `mahajani`
  - Available since: 1.0
`PANGO_SCRIPT_MANICHAEAN`

  Manichaean. Since: 1.40

  - Value: `97`
  - Nickname: `manichaean`
  - Available since: 1.0
`PANGO_SCRIPT_MENDE_KIKAKUI`

  Mende Kikakui. Since: 1.40

  - Value: `98`
  - Nickname: `mende-kikakui`
  - Available since: 1.0
`PANGO_SCRIPT_MODI`

  Modi. Since: 1.40

  - Value: `99`
  - Nickname: `modi`
  - Available since: 1.0
`PANGO_SCRIPT_MRO`

  Mro. Since: 1.40

  - Value: `100`
  - Nickname: `mro`
  - Available since: 1.0
`PANGO_SCRIPT_NABATAEAN`

  Nabataean. Since: 1.40

  - Value: `101`
  - Nickname: `nabataean`
  - Available since: 1.0
`PANGO_SCRIPT_OLD_NORTH_ARABIAN`

  Old North Arabian. Since: 1.40

  - Value: `102`
  - Nickname: `old-north-arabian`
  - Available since: 1.0
`PANGO_SCRIPT_OLD_PERMIC`

  Old Permic. Since: 1.40

  - Value: `103`
  - Nickname: `old-permic`
  - Available since: 1.0
`PANGO_SCRIPT_PAHAWH_HMONG`

  Pahawh Hmong. Since: 1.40

  - Value: `104`
  - Nickname: `pahawh-hmong`
  - Available since: 1.0
`PANGO_SCRIPT_PALMYRENE`

  Palmyrene. Since: 1.40

  - Value: `105`
  - Nickname: `palmyrene`
  - Available since: 1.0
`PANGO_SCRIPT_PAU_CIN_HAU`

  Pau Cin Hau. Since: 1.40

  - Value: `106`
  - Nickname: `pau-cin-hau`
  - Available since: 1.0
`PANGO_SCRIPT_PSALTER_PAHLAVI`

  Psalter Pahlavi. Since: 1.40

  - Value: `107`
  - Nickname: `psalter-pahlavi`
  - Available since: 1.0
`PANGO_SCRIPT_SIDDHAM`

  Siddham. Since: 1.40

  - Value: `108`
  - Nickname: `siddham`
  - Available since: 1.0
`PANGO_SCRIPT_TIRHUTA`

  Tirhuta. Since: 1.40

  - Value: `109`
  - Nickname: `tirhuta`
  - Available since: 1.0
`PANGO_SCRIPT_WARANG_CITI`

  Warang Citi. Since: 1.40

  - Value: `110`
  - Nickname: `warang-citi`
  - Available since: 1.0
`PANGO_SCRIPT_AHOM`

  Ahom. Since: 1.40

  - Value: `111`
  - Nickname: `ahom`
  - Available since: 1.0
`PANGO_SCRIPT_ANATOLIAN_HIEROGLYPHS`

  Anatolian Hieroglyphs. Since: 1.40

  - Value: `112`
  - Nickname: `anatolian-hieroglyphs`
  - Available since: 1.0
`PANGO_SCRIPT_HATRAN`

  Hatran. Since: 1.40

  - Value: `113`
  - Nickname: `hatran`
  - Available since: 1.0
`PANGO_SCRIPT_MULTANI`

  Multani. Since: 1.40

  - Value: `114`
  - Nickname: `multani`
  - Available since: 1.0
`PANGO_SCRIPT_OLD_HUNGARIAN`

  Old Hungarian. Since: 1.40

  - Value: `115`
  - Nickname: `old-hungarian`
  - Available since: 1.0
`PANGO_SCRIPT_SIGNWRITING`

  Signwriting. Since: 1.40

  - Value: `116`
  - Nickname: `signwriting`
  - Available since: 1.0

#### Type functions

###### pango_script_for_unichar

Looks up the script for a particular character.

deprecated: 1.44. since: 1.4

###### pango_script_get_sample_language

Finds a language tag that is reasonably representative of `script`.

since: 1.4