logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

mfont_parse_name -

Description

       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.

Name

       mfont_parse_name -

Return Value

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

Synopsis

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

See Also