XGetFontPath() XGetFontPath()
Name
XGetFontPath - get the current font search path.
Synopsis
char **XGetFontPath(display, npaths_return)
Display *display;
int *npaths_return;
Arguments
display Specifies a connection to an X server; returned from XOpenDisplay().
npaths_return
Returns the number of strings in the font path array.
Returns
A list of strings comprising the font search path.
Description
XGetFontPath() allocates and returns an array of strings containing the search path for fonts. The contents of these strings are implemen-
tation-dependent and are not intended to be interpreted by client applications. The data in the font path should be freed, using XFree-
FontPath(), when no longer needed.
See Also
XCreateFontCursor(), XFreeFont(), XFreeFontInfo(), XFreeFontNames(), XFreeFontPath(), XGetFontProperty(), XListFonts(), XListFontsWith-
Info(), XLoadFont(), XLoadQueryFont(), XQueryFont(), XSetFont(), XSetFontPath(), XUnloadFont().
Xlib - Fonts XGetFontPath()