logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

Description

       Get a list of fonts. The mfont_list() functions returns a list of fonts available on frame frame.  font,
       if not NULL, limits fonts to ones that match with font.  language, if not Mnil, limits fonts to ones that
       support language.  maxnum, if greater than 0, limits the number of fonts.

       language argument exists just for backward compatibility, and the use is deprecated. Use Mlanguage font
       property instead. If font already has Mlanguage property, language is ignored.

Name

       mfont_list -

Return Value

           This function returns a plist whose keys are family names and values are pointers to the object
           MFont. The plist must be freed by m17n_object_unref(). If no font is found, it returns NULL.

Synopsis

MPlist* mfont_list (MFrame * frame, MFont * font, MSymbol language, int maxnum)

See Also