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
- classmethod 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