Method

PangoFontDescriptionto_filename

Declaration [src]

char*
pango_font_description_to_filename (
  const PangoFontDescription* desc
)

Description [src]

Creates a filename representation of a font description.

The filename is identical to the result from calling pango_font_description_to_string(), but with underscores instead of characters that are untypical in filenames, and in lower case only.

Return value

Returns: char*
 

A new string that must be freed with g_free().

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