FontDescription.toFilename

string toFilename()

Creates a filename representation of a font description.

The filename is identical to the result from calling [pango.font_description.FontDescription.toString_], but with underscores instead of characters that are untypical in filenames, and in lower case only.

Returns

a new string that must be freed with [glib.global.gfree].