man mfont_unparse_name () - Create a fontname from a font.

NAME

mfont_unparse_name - Create a fontname from a font.

SYNOPSIS

char* mfont_unparse_name (MFont * font, MSymbol format)

DESCRIPTION

The mfont_unparse_name() function creates a fontname string from font font according to format.

format

must be Mx or Mfontconfig. If it is Mx, the fontname is in XLFD (X Logical Font Description) format. If it is Mfontconfi, the fontname is in the style of Fontconfig's text representation.

RETURN VALUE

This function returns a newly allocated fontname string, which is not freed unless the user explicitly does so by free().