Different font rendering when GDM is not used

I use Ubuntu 10.04 with the Blackbox window manager. After I have configured the system not to use GDM (Gnome Display Manager), the fonts in X Windows are rendered differently (read worse) compared to when I login from GDM. My conclusion is that GDM does something to improve the font rendering but I don't know what. Any clues?