otLayoutLanguageGetFeatureTags

fnuint otLayoutLanguageGetFeatureTags(harfbuzz.face.Face face, harfbuzz.types.Tag tableTag, uint scriptIndex, uint languageIndex, uint startOffset, ref harfbuzz.types.Tag[] featureTags)

Fetches a list of all features in the specified face's GSUB table or GPOS table, underneath the specified script and language. The list returned will begin at the offset provided.

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
startOffsetoffset of the first feature tag to retrieve
featureTagsThe array of #hb_tag_t feature tags found for the query

Returns

Total number of feature tags.