a PangoLanguage
length of other_features,
or 0.
length of static_gpos_features,
or 0.
length of static_gsub_features,
or 0.
map of extra features to add to both GSUB and GPOS. Unlike the static maps, this pointer need not live beyond the life of function calls taking this struct.
a PangoScript
static map of GPOS features
static map of GSUB features
Creates a copy of desc,
which should be freed with
[methodPangoOT
.RulesetDescription.free].
Primarily used internally by [funcPangoOT
.Ruleset.get_for_description]
to cache rulesets for ruleset descriptions.
Compares two ruleset descriptions for equality.
Two ruleset descriptions are considered equal if the rulesets they describe are provably identical. This means that their script, language, and all feature sets should be equal.
For static feature sets, the array addresses are compared directly, while for other features, the list of features is compared one by one.(Two ruleset descriptions may result in identical rulesets being created, but still compare %FALSE.)
a ruleset description
Frees a ruleset description allocated by pango_ot_ruleset_description_copy().
Computes a hash of a PangoOTRulesetDescription
structure suitable
to be used, for example, as an argument to g_hash_table_new().
The
PangoOTRuleset
structure holds all the information needed to build a completePangoOTRuleset
from an OpenType font. The main use of this struct is to act as the key for a per-font hash of rulesets. The user populates a ruleset description and gets the ruleset using pango_ot_ruleset_get_for_description() or create a new one using pango_ot_ruleset_new_from_description().