1XSetFont(3X11)                  XLIB FUNCTIONS                  XSetFont(3X11)
2
3
4

NAME

6       XSetFont - GC convenience routines
7

SYNTAX

9       int XSetFont(Display *display, GC gc, Font font);
10

ARGUMENTS

12       display   Specifies the connection to the X server.
13
14       font      Specifies the font.
15
16       gc        Specifies the GC.
17

DESCRIPTION

19       The XSetFont function sets the current font in the specified GC.
20
21       XSetFont can generate BadAlloc, BadFont, and BadGC errors.
22

DIAGNOSTICS

24       BadAlloc  The server failed to allocate the requested resource or
25                 server memory.
26
27       BadFont   A value for a Font or GContext argument does not name a
28                 defined Font.
29
30       BadGC     A value for a GContext argument does not name a defined GCon‐
31                 text.
32

SEE ALSO

34       XCreateGC(3X11), XQueryBestSize(3X11), XSetArcMode(3X11), XSetClipOri‐
35       gin(3X11), XSetFillStyle(3X11), XSetLineAttributes(3X11), XSet‐
36       State(3X11), XSetTile(3X11)
37       Xlib - C Language X Interface
38
39
40
41X Version 11                     libX11 1.0.3                   XSetFont(3X11)
Impressum