Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XSeFont(3X) — AOS 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XCreateGC(3X)

XQueryBestSize(3X)

XSetArcMode(3X)

XSetClipOrigin(3X)

XSetFillStyle(3X)

XSetLineAttributes(3X)

XSetState(3X)

XSetTile(3X)

XSetFont(3X)  —  X Version 11

NAME

XSetFont − GC convience routines

SYNTAX

XSetFont(display, gc, font)
      Display ∗display;
      GC gc;
      Font font;

ARGUMENTS

displaySpecifies the connection to the X server. 

fontSpecifies the font ID. 

gcSpecifies the graphics context. 

DESCRIPTION

The XSetFont function sets the current font in the specified graphics context. .PN 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(3X), XQueryBestSize(3X), XSetArcMode(3X), XSetClipOrigin(3X), XSetFillStyle(3X), XSetLineAttributes(3X), XSetState(3X), XSetTile(3X)
Xlib − C Language X Interface

1 March 1988

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026