Comment 15 for bug 217729

Revision history for this message
Moony (junk1112) wrote :

B. Lin... thank you VERY much for the patches. This was seriously a show-stopper for me with KDE4, because I am really particular about fonts.

Fiddler... I had trouble getting things to work as well.... it was still showing grayscale for me, and the font sizes were goofy looking. I'm running Fedora 10, so not sure how much of this applies to Ubuntu, but make sure the following are true:

1) You have a freetype build installed that has subpixel rendering enabled. Ubuntu probably does this by default. (Fedora doesn't)
2) You don't have a /home/yourname/.fonts.conf that is overriding the local.conf file
3) Run: xrdb -query | grep -i xft

The following values should look like this:

Xft.antialias: 1
Xft.hintstyle: hintslight
Xft.lcdfilter: lcddefault
Xft.rgba: rgb

If they don't, create or modify the file /home/yourname/.Xresources and put that stuff in there. Then, run: xrdb -merge /home/yourname/.Xresources

Then, restart KDE.

I believe that qt4 reads these values, but I could be wrong. It can't hurt to try though.