NetBSD Wiki/tutorials/x11/
how to use ttf fonts in xterm
Contents
Introduction
The purpose of this document is to guide you on how to make xterm use a truetype font.
Choose font
First pick a font you like, from this list:
$ fc-list | col | sort | less
Note: A nice font set is Liberation. It can be found in fonts/liberation-ttf
.
Run xterm
Then type:
xterm -fa 'Liberation Mono' -fs 10
~/.Xdefaults file
If you want xterm to use these font settings by default, you may add the following lines in your ~/.Xdefaults
file:
XTerm*faceName: Liberation Mono
XTerm*faceSize: 10
Credits
This articled is based on a post in the BSD nexus forum.
Add a comment