Constants#
- ALL_GLYPHS = 65535#
This is used as the property bit in
add_feature()
when a feature should be applied to all glyphs.
- DEFAULT_LANGUAGE = 65535#
This is used as the language index in
find_feature()
when the default language system of the script is desired.It is also returned by
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 calltag_from_language()
followed byfind_language()
and pass the result tofind_feature()
without having to worry about falling back to default language system explicitly.
- NO_FEATURE = 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
find_feature()
if the feature is not found, andadd_feature()
function automatically skips this value, so no special handling is required by the user.
- NO_SCRIPT = 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
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.