mfont_parse_name(3m17n)

mfont_parse_name3m17n

Usage

MFont* mfont_parse_name (const char * name, MSymbol format)

Overview

Create a font by parsing a fontname. The mfont_parse_name() function creates a new font object. The properties are extracted fontname name.

format specifies the format of name. If format is Mx, name is parsed as XLFD (X Logical Font Description). If format is Mfontconfig, name is parsed as Fontconfig's textual representation of font. If format is Mnil, name is at first parsed as XLFD, and it it fails, parsed as Fontconfig's representation.

Return value

If the operation was successful, this function returns a pointer to the created font. Otherwise it returns NULL.

Releases

8 releases since Debian 3.1 (Sarge); the text changed 2 times.

  1. 3.1
  2. 7–12
  3. 13

From m17n-docs 1.8.4-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.