Adding Fonts in CentOS 5

Linux

I was trying to get some decent fonts going in CentOS GNOME, and I followed the obvious steps to get one of my favorites working:

  $ cd
  $ mkdir .fonts
  $ cd .fonts
  $ wget http://www.levien.com/type/myfonts/Inconsolata.otf
  $ cd
  $ fc-cache ~/.fonts

and then verify that the font is properly installed:

  $ fc-list | grep consol
  Inconsolata:style=Medium

but then we need to kill all GNOME Terminal sessions. This was something that I messed with for about 30 mins before I figured it out. You have to drop all the existing terminal sessions - every one, and then when you start it up, you'll be able to see the new font.

Holy Cow! That was an enormous pain in the rump to figure out. But hey, now that I have it, I know it, and we're not going to be bitten by it again.