XSetFont(3x)

XSetFont3x

Gc convenience routines

Usage

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.

Overview

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.

Releases

8 releases since Debian 1.1 (Buzz); the text changed 4 times.

  1. 1.1
  2. 1.2
  3. 1.3–2.2
  4. 3.0
  5. 3.1

From libx11-dev 4.3.0.dfsg.1-14sarge7 in Debian 3.1 (Sarge). Parsed by carta from the page's man source.