PgScript

The functions in this section are used to identify the writing system, or script of individual characters and of ranges within a larger text string.

Members

Static functions

scriptForUnichar
PangoScript scriptForUnichar(gunichar ch)

Looks up the PangoScript for a particular character (as defined by Unicode Standard Annex 24). No check is made for ch being a valid Unicode character; if you pass in invalid character, the result is undefined. As of Pango 1.18, this function simply returns the return value of g_unichar_get_script(). Since 1.4

scriptGetSampleLanguage
PgLanguage scriptGetSampleLanguage(PangoScript script)

Given a script, finds a language tag that is reasonably representative of that script. This will usually be the Since 1.4

Meta