Pango.AttrFontFeatures

Fields

Name Type Access Description
attr Pango.Attribute r/w the common portion of the attribute
features str r/w the featues, as a string in CSS syntax

Methods

class new (features)

Details

class Pango.AttrFontFeatures

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

New in version 1.38.

classmethod new(features)[source]
Parameters:features (str) – a string with OpenType font features, in CSS syntax
Returns:the newly allocated Pango.Attribute, which should be freed with Pango.Attribute.destroy().
Return type:Pango.Attribute

Create a new font features tag attribute.

New in version 1.38.