otLayoutLanguageGetRequiredFeature

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

Fetches the tag of a requested feature index in the given face's GSUB 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
featureIndexThe index of the requested feature
featureTagThe #hb_tag_t of the requested feature

Returns

true if the feature is found, false otherwise