XUnloadFont() XUnloadFont()
Name
XUnloadFont - unload a font.
Synopsis
XUnloadFont(display, font)
Display *display;
Font font;
Arguments
display Specifies a connection to an X server; returned from XOpenDisplay().
font Specifies the ID of the font to be unloaded.
Description
XUnloadFont() indicates to the server that this client no longer needs the specified font. The font may be unloaded on the X server if
this is the last client that needs the font. In any case, the font should never again be referenced by this client because Xlib destroys
the resource ID.
For more information on loading and unloading fonts, see Volume One, Chapter 6, Drawing Graphics and Text.
Errors
BadFont
See Also
XCreateFontCursor(), XFreeFont(), XFreeFontInfo(), XFreeFontNames(), XFreeFontPath(), XGetFontPath(), XGetFontProperty(), XListFonts(),
XListFontsWithInfo(), XLoadFont(), XLoadQueryFont(), XQueryFont(), XSetFont(), XSetFontPath().
Xlib - Fonts XUnloadFont()