1XSetFont(3)                     XLIB FUNCTIONS                     XSetFont(3)
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  de‐
28                 fined Font.
29
30       BadGC     A value for a GContext argument does not name a defined GCon‐
31                 text.
32

SEE ALSO

34       XCreateGC(3),  XQueryBestSize(3),  XSetArcMode(3),   XSetClipOrigin(3),
35       XSetFillStyle(3), XSetLineAttributes(3), XSetState(3), XSetTile(3)
36       Xlib - C Language X Interface
37
38
39
40X Version 11                     libX11 1.7.2                      XSetFont(3)
Impressum