char **XGetFontPath(display, npaths_return)
      Display *display;
      int *npaths_return;


display Specifies the connection to the X server.
npaths_return Returns the number of strings in the font path array.


The XGetFontPath() function allocates and returns an array of strings containing the search path. The contents of these strings are implementation dependent and are not intended to be interpreted by client applications. When it is no longer needed, the data in the font path should be freed by using XFreeFontPath().

See also

XSetFontPath(), XFreeFontPath(), XListFonts(), XLoadFont(), "Setting and Retrieving the Font Search Path".
Christophe Tronche, [email protected]