Pango.AttrFontDesc.new
Description: Reference for Pango.AttrFontDesc.new

### Function

# Pango AttrFontDescnew

#### Declaration [src]

    PangoAttribute*
    pango_attr_font_desc_new (
      const PangoFontDescription* desc
    )

#### Description [src]

Create a new font description attribute.

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

#### Parameters

`desc` | `PangoFontDescription`
| The font description.
| The data is owned by the caller of the function.

#### Return value

Returns: | `PangoAttribute`
| The newly allocated `PangoAttribute`, which should be freed with `pango_attribute_destroy()`
| The caller of the function takes ownership of the data, and is responsible for freeing it.