IT lexicon › Infra & Ops › XLFD

XLFD

Infra & Ops På svenska → Updated: 2026-10-07

X's old naming scheme for fonts: fourteen hyphen-separated fields, for anyone who finds "Courier 12" too readable.

An X Logical Font Description looks like this: -adobe-courier-medium-r-normal--12-120-75-75-m-70-iso8859-1. The fields give foundry, family, weight, slant, set width, additional style, size in pixels and in tenths of a point, horizontal and vertical resolution, spacing, average width and character encoding. An asterisk in any field turns the name into a pattern, and xlsfonts and xfontsel existed to help you find one that actually matched something.

The scheme reflected the fact that fonts lived on the server: the client asked for a name and got ready-made bitmaps back. Fine for terminals, hopeless for anti-aliasing or Unicode text across many scripts. After 2000 Xft and fontconfig moved fonts to the client, and XLFD survived mainly in config files for xterm and Emacs.

← Back to the lexicon