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.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

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
Ubuntu® Linux® Bible

Ubuntu® Linux® Bible

William von Hagen
IBM Platform Computing Solutions Reference Architectures and Best Practices

IBM Platform Computing Solutions Reference Architectures and Best Practices

Dino Quintero, Luis Carlos Cruz, Ricardo Machado Picone, Dusan Smolej, Daniel de Souza Casali, Gheorghe Tudor, Joanna Wong
FreeBSD6 Unleashed

FreeBSD6 Unleashed

Brian Tiemann

Publisher Resources

ISBN: 9780937175149