XLIB FUNCTIONS XSetFont(3x11)
NAME
XSetFont - GC convenience routines
SYNTAXcc [ flag... ] file... -lX11 [ library... ]
int XSetFont(Display *display, GC gc, Font font);
ARGUMENTS display Specifies the connection to the X server. font Specifies the font. gc Specifies the GC.DESCRIPTION
The XSetFont function sets the current font in the specified
GC.XSetFont can generate BadAlloc, BadFont, and BadGC errors.
DIAGNOSTICS BadAlloc The server failed to allocate the requested resource or server memory. BadFont A value for a Font or GContext argument does not name a defined Font. BadGC A value for a GContext argument does not name a defined GContext.SEE ALSO
XCreateGC(3x11), XQueryBestSize(3x11), XSetArcMode(3x11), XSetClipOrigin(3x11), XSetFillStyle(3x11), XSetLineAttributes(3x11), XSetState(3x11), XSetTile(3x11)Xlib - C Language X Interface
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Availability | x11/library/libx11 ||_____________________________|_____________________________|
| Interface Stability | Committed ||_____________________________|_____________________________|
| MT-Level | See XInitThreads(3X11) |
|_____________________________|_____________________________|
X Version 11 Last change: libX11 1.3.5 1XLIB FUNCTIONS XSetFont(3x11)
X Version 11 Last change: libX11 1.3.5 2