PgScript.scriptForUnichar

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().

struct PgScript
static
scriptForUnichar
(
dchar ch
)

Parameters

ch dchar

a Unicode character

Return: the #PangoScript for the character.

Meta