---
name: "mfont_unparse_name"
section: "3m17n"
platform: "linux"
package: "m17n-docs"
version: "1.8.4-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/mfont_unparse_name"
---

# mfont\_unparse\_name(3m17n)

## NAME

mfont\_unparse\_name -

## SYNOPSIS

char\* **mfont\_unparse\_name** (**MFont** \* *font*, MSymbol *format*)

## DESCRIPTION

Create a fontname from a font. 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 **Mfontconfig**, 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(). \

## COPYRIGHT

Copyright (C) 2001 Information-technology Promotion Agency (IPA)\
 Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST)\
 Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License  \<http://www.gnu.org/licenses/fdl.html\>.
