Function

GimpFontget_by_name

Declaration [src]

GimpFont*
gimp_font_get_by_name (
  const gchar* name
)

Description [src]

Returns the font with the given name.

Returns the font with the given name.

Available since:3.0

Parameters

name const gchar*
 

The name of the font.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.

Return value

Returns: GimpFont
 

The font.

 The caller of the function takes ownership of the data, and is responsible for freeing it.