Font.getFeatures

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.

class Font
void
getFeatures

Parameters

features harfbuzz.feature.Feature[]

Array to features in

numFeatures uint

the number of used items in features