XSetFont(3X) XSetFont(3X)NAME XSetFont - sets the current font in the graphic context SYNOPSIS XSetFont (display, gc, font) Display *display; GC gc; Font font; DESCRIPTION The XSetFont function sets the current font in the specified graphic context. Arguments This function accepts the following arguments: display Specifies the connection to the X server. font Specifies the font ID. gc Specifies the graphic context. ERRORS BadAlloc The server failed to allocate the requested resource or server memory. BadFont A value for a Font or GC argument does not name a defined font. BadGC A value for a GC argument does not name a defined graphic context. SEE ALSO XCreateGC(3X), XQueryBestSize(3X), XSetArcMode(3X), XSetClipOrigin(3X), XSetFillStyle(3X), XSetLineAttributes(3X), XSetState(3X), XSetTile(3X)Xlib - C Language InterfaceNovember, 1990 1