Google

Web schwicky.net

Missing fonts in GTK2 Applications

Jean-Pierre Schwickerath's Schwicky.Net Logo

Where are my fonts?

You just upgraded to a new version of your favourite application which claims to be even more beautiful than the older version thanks to antialiased fonts. But unfortunately there are no more decent fonts. Your new gvim allows you only to choose between these strange fonts which might be good for writing a document in OpenOffice.org but certainly not editing source code in this wonderful editor? You just want your good old 'Fixed' font back?

The solution

It's because GTK2 is using a new font system called 'fontconfig' (along with the Xft-Library). All you need to do is to tell 'fontconfig' where it has to search for your old fonts so it can offer them for you to use.

Edit the configuration file which is probably /etc/fonts/local.conf (or /usr/etc/fonts/local.conf) and add the following line inside the <fontconfig> block:

<dir>/usr/X11R6/lib/X11/fonts/misc</dir>

Additionaly you might also want the following lines:

<dir>/usr/X11R6/lib/X11/fonts/100dpi</dir> <dir>/usr/X11R6/lib/X11/fonts/75dpi</dir> <dir>/usr/X11R6/lib/X11/fonts/Speedo</dir>

And any additional directory you have fonts in.

Glider, Game of Life - Hacker Emblem Home
Disclaimer

About me

Biography

Meet the Schwickerath's

Pictures

Calvin & Hobbes
Fun
Linux
Multimedia
The X-Files

Actors
Episodes
Transcripts
Song
Pictures

Archives
Guestbook
Message Board
Projects

Links
Internet threats
Statistics

E-Mail me

Calvin & Hobbes Aïkido Journal
Urlaub-Europa

(C) 1998-2013,
Jean-Pierre Schwickerath

IPv6 Certification Badge for schwicky

Valid XHTML 1.0!
Valid CSS!
This Site used to be
powered by
Linux From Scratch!
You will inherit millions of dollars.
Anonymous
Schwicky.net's Visitor Counter
[Valid RSS]