Font Descriptors

Documentation / Contents - Font Scheme

Other cards

Font Descriptors

A role is bound to one string, called a descriptor. The grammar is the fontconfig pattern form, which is exactly what xterm -fa accepts.

DejaVu Sans-10              family and point size
DejaVu Sans-10:bold         with a style
DejaVu Sans-7.5:oblique     fractional points are legal
-*-helvetica-bold-r-*-14-*  a LEADING '-' means XLFD

The Leading Dash Is the Whole Rule

There is no flag that says which kind of font you mean. A descriptor that starts with a dash pins a server font and takes the core X path. Anything else is a pattern and takes the Xft path where Xft is available.

That single rule is what lets a configuration file, a scheme and a command line all say the same thing and mean it.

The "Source:" radio in the font dialog, "Outline (Xft)" or "Server (XLFD)", picks which catalogue you are browsing. What ends up in the scheme is still just a descriptor, and the dash still decides.

When the Resolved Font Differs

The caption under each sample is the descriptor that actually resolved, not necessarily the one the scheme asked for. A leading tilde marks the difference:

~ DejaVu Sans-10

Three ordinary reasons for it:

The caption is shortened to fit the well, and fontconfig's multilingual style list is trimmed off, so it is a summary rather than the literal string. To see the requested and resolved forms side by side, ask from a shell:

cyfont-prefs --resolve 'DejaVu Sans-10:bold'

which prints the requested string, the resolved string, whether Xft or the core path took it, and the ascent, descent and ink band.

There is no hover tip on the sample wells. --resolve is the way to get the full untruncated answer.

Reading the Nine Samples

Two roles that quietly collapsed onto the same font are invisible in a table of strings and obvious in nine differently typeset lines. That is what the panel is for. Look for:

Next

Cyanotype Project. Blueprint Desktop. BSD 2-clause. Not affiliated with Silicon Graphics. SGI, IRIX, and Indigo Magic belong to their owners. 1.0 is aimed at 31 October 2026.