ot_layout_feature_get_name_ids


Description:


[ Version ( since = "2.0.0" ) ]
public Bool ot_layout_feature_get_name_ids (Face face, Tag table_tag, uint feature_index, out OtNameId label_id, out OtNameId tooltip_id, out OtNameId sample_id, out uint num_named_parameters, out OtNameId first_param_id)

Fetches name indices from feature parameters for "Stylistic Set" ('ssXX') or "Character Variant" ('cvXX') features.

Parameters:

face

Face to work upon

table_tag

table tag to query, "GSUB" or "GPOS".

feature_index

index of feature to query.

label_id

The ‘name’ table name ID that specifies a string for a user-interface label for this feature.

tooltip_id

The ‘name’ table name ID that specifies a string that an application can use for tooltip text for this feature.

sample_id

The ‘name’ table name ID that specifies sample text that illustrates the effect of this feature.

num_named_parameters

Number of named parameters.

first_param_id

The first ‘name’ table name ID used to specify strings for user-interface labels for the feature parameters. (Must be zero if numParameters is zero.)

Returns:

`true` if data found, `false` otherwise


Namespace: HarfBuzz