Constants ========= .. currentmodule:: gi.repository.PangoOT .. data:: ALL_GLYPHS :value: 65535 This is used as the property bit in :func:`~gi.repository.PangoOT.Ruleset.add_feature` when a feature should be applied to all glyphs. .. data:: DEFAULT_LANGUAGE :value: 65535 This is used as the language index in :func:`~gi.repository.PangoOT.Info.find_feature` when the default language system of the script is desired. It is also returned by :func:`~gi.repository.PangoOT.Info.find_language` if the requested language is not found, or the requested language tag was PANGO_OT_TAG_DEFAULT_LANGUAGE. The end result is that one can always call :func:`~gi.repository.PangoOT.tag_from_language` followed by :func:`~gi.repository.PangoOT.Info.find_language` and pass the result to :func:`~gi.repository.PangoOT.Info.find_feature` without having to worry about falling back to default language system explicitly. .. data:: NO_FEATURE :value: 65535 This is used as a feature index that represent no feature, that is, should be skipped. It may be returned as feature index by :func:`~gi.repository.PangoOT.Info.find_feature` if the feature is not found, and :func:`~gi.repository.PangoOT.Ruleset.add_feature` function automatically skips this value, so no special handling is required by the user. .. data:: NO_SCRIPT :value: 65535 This is used as a script index that represent no script, that is, when the requested script was not found, and a default ('DFLT') script was not found either. It may be returned as script index by :func:`~gi.repository.PangoOT.Info.find_script` if the script or a default script are not found, all other functions taking a script index essentially return if the input script index is this value, so no special handling is required by the user.