Gimp.TextLayer.get_font

### Method

# Gimp TextLayerget_font

since: 2.6

#### Declaration [src]

    gchar*
    gimp_text_layer_get_font (
      GimpTextLayer* layer
    )

#### Description [src]

Get the font from a text layer as string.

This procedure returns the name of the font from a text layer.

Available since: 2.6

#### Return value

Type: `gchar*`

         The font which is used in the specified text layer.
         The returned value must be freed with g_free().

The caller of the method takes ownership of the data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.