man mfont_list () - Get a list of fonts.

NAME

mfont_list - Get a list of fonts.

SYNOPSIS

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

DESCRIPTION

The mfont_list() functions returns a list of fonts available on frame frame. font, if not Mnil, 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.

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.