AttrFontDesc

class AttrFontDesc(*args, **kwargs)

The PangoAttrFontDesc structure is used to store an attribute that sets all aspects of the font description at once.

Methods

class AttrFontDesc
new(desc: FontDescription) Attribute

Create a new font description attribute.

This attribute allows setting family, style, weight, variant, stretch, and size simultaneously.

Parameters:

desc – the font description

Fields

class AttrFontDesc
attr

The common portion of the attribute

desc

The font description which is the value of this attribute