otLayoutLanguageGetRequiredFeatureIndex

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

Fetches the index of a requested feature 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

Returns

true if the feature is found, false otherwise