AttrFontDesc.new_

Create a new font description attribute.

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

Parameters

descthe font description

Returns

the newly allocated

[pango.attribute.Attribute], which should be freed with [pango.attribute.Attribute.destroy]