XSetFont(3)



XSetFont

NAME
SYNTAX
ARGUMENTS
DESCRIPTION
DIAGNOSTICS
SEE ALSO

NAME

XSetFont − GC convenience routines

SYNTAX

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(3), XQueryBestSize(3), XSetArcMode(3), XSetClipOrigin(3), XSetFillStyle(3), XSetLineAttributes(3), XSetState(3), XSetTile(3)
Xlib − C Language X Interface



More Linux Commands

manpages/vidattr_sp.3ncurses.html
vidattr_sp(3ncurses) - curses screen-pointer extension......
This implementation can be configured to provide a set of functions which improve the ability to manage multiple screens. This feature can be added to any of th

manpages/oneko.1x.html
oneko(1x) - (unknown subject) (Commands - Linux man page)...
oneko changes your cursor into a mouse and creates a little cute cat and the cat starts chasing around your mouse cursor. If the cat catches the mouse, it will

manpages/bb.1.html
bb(1) - The aalib demo (Commands - Linux manual page).......
The bb, command show an high quality audio-visual demonstration for your text terminal OPTIONS A summary of options are included below. For a complete descripti

manpages/myisampack.1.html
myisampack(1) - generate compressed, read-only MyISAM tables
The myisampack utility compresses MyISAM tables. myisampack works by compressing each column in the table separately. Usually, myisampack packs the data file 40

manpages/ras2tiff.1.html
ras2tiff(1) create a TIFF file from a Sun rasterfile........
ras2tiff converts a file in the Sun rasterfile format to TIFF. By default, the TIFF image is created with data samples packed (PlanarConfiguration=1), compresse

manpages/outsb.2.html
outsb(2) - port I/O (System calls - Linux man page).........
This family of functions is used to do low-level port input and output. The out* functions do port output, the in* functions do port input; the b-suffix functio

manpages/gnutls_x509_crq_init.3.html
gnutls_x509_crq_init(3) - API function - Linux manual page
This function will initialize a PKCS10 certificate request structure. RETURNS On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative error value. RE

manpages/pnmcomp.1.html
pnmcomp(1) - composite (overlay) two PNM images together....
This program is part of Netpbm(1) pnmcomp was obsoleted by pamcomp(1) , introduced with Netpbm 10.21 (March 2004). pamcomp is backward compatible with pnmcomp,

manpages/mathop.n.html
mathop(n) - Mathematical operators as Tcl commands (ManPage)
The commands in the ::tcl::mathop namespace implement the same set of operations as supported by the expr command. All are exported from the namespace, but are

manpages/SDL_RemoveTimer.3.html
SDL_RemoveTimer(3) - Remove a timer which was added with SDL
Removes a timer callback previously added with SDL_AddTimer. RETURN VALUE Returns a boolean value indicating success. EXAMPLES SDL_RemoveTimer(my_timer_id); SEE

manpages/XQueryTextExtents.3.html
XQueryTextExtents(3) - compute or query text extents........
The XTextExtents and XTextExtents16 functions perform the size computation locally and, thereby, avoid the round-trip overhead of XQueryTextExtents and XQueryTe

manpages/glTexCoord3i.3gl.html
glTexCoord3i(3gl) - set the current texture coordinates.....
glTexCoord specifies texture coordinates in one, two, three, or four dimensions. glTexCoord1 sets the current texture coordinates to (s, 0, 0, 1); a call to glT





We can't live, work or learn in freedom unless the software we use is free.