Skip to Content
X Window System User's Guide for X11 R3 and R4 of the X Window System
book

X Window System User's Guide for X11 R3 and R4 of the X Window System

by Valerie Quercia, Tim O'Reilly
May 1990
Beginner
723 pages
17h 35m
English
O'Reilly Media, Inc.
Content preview from X Window System User's Guide for X11 R3 and R4 of the X Window System

5

Font Specification

This chapter describes what you need to know in order to select display fonts for the various client applications. After acquainting you with some of the basic characteristics of a font, this chapter describes the rather complex font naming conventions and how to simplify font specification. This chapter also describes how to use the xlsfonts, xfd, and xfontsel clients to list, display, and select available screen fonts.

In This Chapter:

Font Naming Conventions

Font Families

Stroke Weight and Slant

Font Sizes

Other Information in the Font Name

Font Name Wildcarding

The Font Search Path

The fonts.dir Files

Font Name Aliasing

Making the Server Aware of Aliases

Utilities for Displaying Information about Fonts

The Font Displayer: xfd

Release 3 xfd

Previewing and Selecting Fonts: xfontsel

Previewing Fonts with the xfontsel Menus

Selecting a Font Name

Changing Fonts in xterm Windows

The Great Escape

The Selection menu item

Release 2 versus Subsequent Release Fonts

Font Specification in Release 2

5

Font Specification

Many clients allow you to specify the font used to display text in the window, in menus and labels, or in any other text fields. For example, you can choose the font used for the text in twm menus or in xterm windows.

Unfortunately, for the most part, there are no simple “font menus” like there are on systems such as the Macintosh.* Instead, X has a fairly complex font naming system (which, like most things about X, is designed for maximum flexibility ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

X Window System User's Guide, Vol 3 (The Definitive Guides to the X Window System)

X Window System User's Guide, Vol 3 (The Definitive Guides to the X Window System)

Valerie Quercia, Tim O'Reilly

Publisher Resources

ISBN: 9780937175149