Please note this is what I do. This is what works for me. If you have something to add that will add value, please do.
Step 1:
Download the font and extract if necessary.
Step 2:
cp the appropriate .pcf (preferrably) or .bdf file to
Code: Select all
/usr/share/fonts/local
Step 3:
Run the following commands as root (thanks to GekkoP)
Code: Select all
sudo fc-cache -fs
sudo mkfontscale /usr/share/fonts/local
sudo mkfontdir /usr/share/fonts/local
Log out and back in
Step 5:
In your terminal run
Code: Select all
xlsfonts | grep [your new font]
Paste in your .Xresources (or where applicable)
Step 7:
Now, to trick your system and like your font directory, place the following in your .xinitrc
Code: Select all
# font bullshit
xset +fp /usr/share/fonts/local
xset fp rehash
Of course it is hard to remember the commands. Please do the following
- Subscribe to this thread
Make a quick script and place in your $PATH. I named mine newFontCode: Select all
#! /bin/bash ## Run this script for new fonts sudo fc-cache -fs sudo mkfontscale /usr/share/fonts/local sudo mkfontdir /usr/share/fonts/local
Now adding fonts is not a headache. Enjoy!
Reference: http://linuxbbq.org/bbs/viewtopic.php?f ... &hilit=pcf