Font.getFeatures

void getFeatures(ref harfbuzz.feature.Feature[] features, ref uint numFeatures)

Obtain the OpenType features that are provided by the font.

These are passed to the rendering system, together with features that have been explicitly set via attributes.

Note that this does not include OpenType features which the rendering system enables by default.

Parameters

featuresArray to features in
numFeaturesthe number of used items in features