K.Mandla's blog of Linux experiences

Font smoothing on minimal setups

If you build extremely light setups, you might think something is lacking in the font department. Chances are, you’re right.

Font smoothing isn’t activated by default under minimal setups in Ubuntu (or for that matter, in Arch, which means other distros might need it too) — that’s something you need to do manually.

How can you tell if you need it? It’s fairly easy: Set your GTK font (or even your Openbox menu, or something like that) to Dejavu Sans Condensed 9, and see if it looks a little smeared. If you get close to the screen and it looks like you’re looking at a font through a lattice … time for a change.

Font smoothing is set through the .fonts.conf file, and it’s a simple XML tweak that’s been around for years. Open a file in your home directory with that name, and paste this into it:

Now change all the left brackets to less-than symbols, and the right brackets to greater-than symbols. (Sorry for the extra step. WordPress can’t handle XML markup inside its posting system, even if it is flagged with code tags. :roll: I guess I could upload it as a .doc file, but I have an aversion to proprietary document formats when it’s just a 202b text file.)