wiki:linux/Fonts

Display characters of font

$ xfd -fa [fontname]

Install terminus font

# apt-get install xfonts-terminus

After this a restart of the xserver may required.

Update font cache

# fc-cache -fv

Display X fonts and create a full font name

To become the full font name (X Logical Font Description "XLFD") which is needed to define e.g. a bitmap font like "Terminus" which must be done in the "old way" use

$ xfontsel -print
-*-terminus-medium-*-*-*-14-*-*-*-*-*-iso10646-1

and put the printed string into the ~/.Xresources file by example. By clicking the select button within xfontsel the full font name will be written in the primary clipboard (xsel -p).

Last modified 4 years ago Last modified on Apr 14, 2015, 8:42:32 AM