XESetCreateFont

Syntax

int (*XESetCreateFont(display, extension, proc))()
      Display *display;
      int extension;
      int (*proc)();

Arguments

display Specifies the connection to the X server.
extension Specifies the extension number.
proc Specifies the procedure to call when a font is created.

Description

The XESetCreateFont() function defines a procedure to be called whenever XLoadQueryFont() and XQueryFont() are called. It returns any previously defined procedure, usually NULL.

When XLoadQueryFont() or XQueryFont() is called, your procedure is called with these arguments:


(*proc)(display, fs, codes)
	Display *display;
	XFontStruct *fs;
	XExtCodes *codes;

See also

XESetBeforeFlush(), XESetCloseDisplay(), XESetCopyGC(), XESetCreateGC(), XESetError(), XESetErrorString(), XESetEventToWire(), XESetFlushGC(), XESetFreeFont(), XESetFreeGC(), XESetPrintErrorValues(), XESetWireToError(), XESetWireToEvent(), _XSetLastRequestRead(), "Hooks into the Library"
Christophe Tronche, ch@tronche.com