[Techtalk] Subpixel rendering in Redhat 9

Carlo Hamalainen ch at uqconnect.net
Wed Jun 18 13:24:17 EST 2003


Hello everyone,

I have a nice new Thinkpad T40 laptop running Redhat 9. When I'm in
Metacity, everything looks quite nice. However, in Windowmaker, it seems
that the subpixel rendering option (from gnome-font-properties) does not
get turned on. I also note that the login screen looks nasty (slight red
tinge on the fonts).

I can fix this by simply starting gnome-font-properties and then
exiting. The effect takes place immediately, and fonts in Mozilla and
Opera look great.

Does anyone know how I can get subpixel rendering to work while I am in
Windowmaker? It's essentially an Xft configuration issue, I believe. So
far I've tried these things:

1) Putting "Xft.rgba: rgb" in my Xresources file.
2) Putting the following in /etc/fonts/fonts.conf:

<match target="font">
    <edit name="rgba" mode="assign">
        <const>bgr</const>
    </edit>
</match>

Neither (1) nor (2) made any difference. What makes this all weirder is
that xdpyinfo reports:

[carlo at t40 carlo]$ xdpyinfo -ext RENDER | grep sub-pixel 
    Screen 0 (sub-pixel order Horizontal RGB)

So allegedly the subpixel stuff is turned on, but it still looks
horrible! Is there something else that gnome-font-properties does that
I'm not aware of?

Thanks,

-- Carlo



More information about the Techtalk mailing list