9.4 Setting and Retrieving the Font Search Path

The set of fonts available from a server depends on a font search path. Xlib provides functions to set and retrieve the search path for a server.

To set the font search path, use XSetFontPath().

To get the current font search path, use XGetFontPath().

To free data returned by XGetFontPath(), use XFreeFontPath().

Next: Server Grabbing

Christophe Tronche, ch@tronche.com