Method

Pango.Font.get_features

Declaration [src]

void
pango_font_get_features (
  PangoFont* font,
  hb_feature_t* features,
  guint len,
  guint* num_features
)

Description [src]

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.

Available since:1.44

Parameters

features An array of hb_feature_t
 

Array to features in

 Direction: out
 The length of the array is in the len argument
 The data is owned by the caller of the function
len guint
 

the length of features

 Direction: out
num_features guint*
 

the number of used items in features

 Direction: in-out
 The called function takes ownership of the data, and is responsible for freeing it