fonts and anti aliasing

LiNuCe linuce at gmail.com
Fri Jan 28 01:43:21 CET 2005


Hello,

    XFCE sets the Xft resolution to 96dpi, whatever the resolution of 
your screen is. It seems that 0.1% of the current monitors on the market 
don't allow X to get the proper resolution, so if you are in the other 
99,9% :

    $ cp /etc/X11/xdg/xfce4/xinitrc ~/.config/xfce4/xinitrc
    $ chmod 755 ~/.config/xfce4/xinitrc
    $ vim ~/.config/xfce4/xinitrc

Replace the following lines :

    cat >> $XRESOURCES << EOF
    Xft.dpi: 96
    Xft.hinting: 1
    Xft.hintstyle: hintmedium
    EOF

With :

    cat >> $XRESOURCES << EOF
    Xft.hinting: 1
    Xft.hintstyle: hintmedium
    EOF

X will set the Xft resolution to match your screen resolution.

> i use a mixture of xfce (4.2) and gnome (2.8), and have noticed that 
> fonts in gnome look different to those in xfce - ie when i use mozilla, 
> gnome renders the fonts smoother than xfce does.
> 
> i've tried fiddling with the anti-alias/hinting/sub-pixel hinting 
> options in the xfce user interface panel, but can't get the fonts the 
> way i like them (as in gnome).
> 
> should it be possible to replicate the font look from gnome in xfce, or 
> are there fundamental differences in how the two systems work? if it is 
> possible, how would i find out exactly what gnome is doing so i can 
> replicate it in xfce?







More information about the Xfce mailing list