XSetFont
GC convenience routines
- Provided by: libx11-doc (Version: 2:1.6.4-3ubuntu0.4)
- Source: libx11
- Report a bug
GC convenience routines
int XSetFont(Display *display, GC gc, Font font);
The XSetFont function sets the current font in the specified GC.
XSetFont can generate BadAlloc, BadFont, and BadGC errors.
XCreateGC(3), XQueryBestSize(3), XSetArcMode(3),
XSetClipOrigin(3), XSetFillStyle(3), XSetLineAttributes(3), XSetState(3),
XSetTile(3)
Xlib - C Language X Interface