Installing pcf fonts in X
As I keep forgetting, here is how to install
pcf fonts in X
- Create a new directory for the fonts, usually under /usr/share/fonts:
$> mkdir /usr/share/fonts/
- Copy the
pcffile(s) into it (sometimes the
pcffiles are gzipped):
$> cp /path/to/pcf/*.pcf* /usr/share/fonts/
- Run mkfontdir, to create a fonts.dir file, used by X to find font files
$> mkfontdir /usr/share/fonts/
- Add the new dir to X font path. The easiest way to do it is to stick this line in your
xset fp+ /usr/share/fonts/
Now your new font should compare in
xfontsel and you should be able to use it as normal.
By the way, this is a very nice font for programming!