AttrFontFeatures#

Added in version 1.38.

class AttrFontFeatures(*args, **kwargs)#

The PangoAttrFontFeatures structure is used to represent OpenType font features as an attribute.

Methods#

class AttrFontFeatures
classmethod new() Attribute#

Create a new font features tag attribute.

You can use this attribute to select OpenType font features like small-caps, alternative glyphs, ligatures, etc. for fonts that support them.

Added in version 1.38.

Fields#

class AttrFontFeatures
attr#

The common portion of the attribute

features#

The features, as a string in CSS syntax