attr_font_desc_new


Description:


[ Version ( replacement = "AttrFontDesc.new" ) ]
public Attribute attr_font_desc_new (FontDescription desc)

Create a new font description attribute.

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

Parameters:

desc

the font description

Returns:

the newly allocated `PangoAttribute`, which should be freed with [method@Pango.Attribute.destroy]


Namespace: Pango
Package: pango