Skip to content

Pango.AttrFontFeatures

record (struct)

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

Static functions

new

@staticmethod
def new(features: str) -> 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.

Parameters:

Properties

attr

attr: Attribute  # read/write

features

features: str  # read/write