includesScript

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

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

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 method@Pango.Language.get_scripts internally.

Return

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

Since

1.4

Parameters

script

a PangoScript