includes_script


Description:

[ Version ( since = "1.4" ) ]
public bool includes_script (Script script)

Determines if script is one of the scripts used to write this.

The returned value is conservative; if nothing is known about the language tag this, true will be returned, since, as far as Pango knows, script might be used to write this.

This routine is used in Pango's itemization process when determining if a supplied language tag is relevant to a particular section of text. It probably is not useful for applications in most circumstances.

This function uses [[email protected]_scripts] internally.

Parameters:

this

a `PangoLanguage`

script

a `PangoScript`

Returns:

true if script is one of the scripts used to write this or if nothing is known about this (including the case that this is null), false otherwise.




2022 vala-language.org