XListFonts(3X) — X Version 11
NAME
XListFonts, XFreeFontNames − obtain and free font names
SYNTAX
char ∗∗XListFonts(display, pattern, maxnames, actual_count_return)
Display ∗display;
char ∗pattern;
int maxnames;
int ∗actual_count_return;
XFreeFontNames(list)
char ∗list[];
ARGUMENTS
actual_count_return
Returns the actual number of font names.
displaySpecifies the connection to the X server.
listSpecifies the array of strings you want to free.
maxnamesSpecifies the maximum number of names that are to be in the returned list.
patternSpecifies the null-terminated string associated with the font names that you want returned. You can specify any string, an asterisk “∗”, or a question mark “?”. The asterisk indicates a wildcard on any number of characters, and the question mark indicates a wildcard on a single character.
DESCRIPTION
The XListFonts function returns an array of available font names (as controlled by the font search path; see XSetFontPath) that match the string you passed to the pattern argument.
The XFreeFontNames function frees the array and strings returned by XListFonts.
SEE ALSO
XLoadFont(3X), XSetFontPath(3X)
Xlib − C Language X Interface
1 March 1988