otLayoutLanguageFindFeature

fnharfbuzz.types.Bool otLayoutLanguageFindFeature(harfbuzz.face.Face face, harfbuzz.types.Tag tableTag, uint scriptIndex, uint languageIndex, harfbuzz.types.Tag featureTag, out uint featureIndex)

Fetches the index of a given feature tag in the specified face's GSUB table or GPOS table, underneath the specified script and language.

Parameters

face#hb_face_t to work upon
tableTag#HB_OT_TAG_GSUB or #HB_OT_TAG_GPOS
scriptIndexThe index of the requested script tag
languageIndexThe index of the requested language tag
featureTag#hb_tag_t of the feature tag requested
featureIndexThe index of the requested feature

Returns

true if the feature is found, false otherwise