### Method

# Pango FontDescription copy

#### Declaration [src]

    PangoFontDescription*
    pango_font_description_copy (
      const PangoFontDescription* desc
    )

#### Description [src]

Make a copy of a `PangoFontDescription`.

#### Parameters

`desc`

  Type: `PangoFontDescription`

  A `PangoFontDescription`, may be `NULL`.

  The argument can be `NULL`.

#### Return value

Type: `PangoFontDescription`

The newly allocated `PangoFontDescription`, which should be freed with `pango_font_description_free()`, or `NULL` if `desc` was `NULL`.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The return value can be `NULL`.