Better Linux LCD Font Rendering

Jan 16 2010

After doing a font rendering comparison on Linux and Windows, I thought there was more that can be done in Linux. The script I wrote to display fonts at different pixel sizes helped to pin down the places where I noticed display artifacts. I notice font problems most often when browsing the web. A site like LifeHacker uses a font that’s not installed my Linux box. At other times, random colors appear on the edges of fonts at certain pixel sizes. However, the following font configuration file will make font on every page appear smooth if Firefox is configured to use system fonts. More on that in a later post.

/etc/fonts/local.conf

[cc lang=”xml”]






true



medium
false




rgb



true
hintmedium



true



9
hintfull



13
hintslight




false

[/cc]

After editing the file, a restart of your application is required for the settings to take effect (for me it was Firefox, since I was testing font configuration).

No responses yet