font/anti-alias problem

Valentin Hocher valentin at tutorialzone.de
Sun Nov 16 15:18:17 CET 2003


Am Son, den 16.11.2003 schrieb Olivier Fourdan um 14:45:
> On Sun, 2003-11-16 at 14:33, Bernhard Walle wrote:
> > Maybe it's because of this lines in /etc/xfce4/xinitrc
> > 
> > ,----
> > | xrdb -nocpp -merge - << EOF
> > | Xft.dpi: 96
> > | Xft.hinting: 1
> > | Xft.hintstyle: hintmedium
> > | EOF
> > `----
> 
> Nope, abosulutely not.
> 
> What the shows is that his Xft is configured for LCD display using
> sub-pixel rendering.
> 
> Somewhere, either from /etc/fonts/local.conf or from
> ~/.fonts/fonts.conf, you set sub-pixel rendering
> 
> Edit /etc/fonts/local.conf and add this:
> 
> <fontconfig>
>   <match target="font">
>     <test qual="all" name="rgba">
>       <const>unknown</const>
>     </test>
>     <edit name="rgba"mode="assign">
>       <const>rgba</const>
>     </edit>
>   </match>
> </fontconfig>
> 
> > It's an LCD (Eizo L767, 19") ... this problem only appears on xfce (on
> > > gnome or kde it doesn't).
> 
> This doesn't show in gnome or kde because they probably overrides the default values (xfce doesn't do anything for sub-pixel rendering)
> 
> Your system install has probably detected the LCD screen and enabled sub-pixel rendering for you. You may check the system settings (depends on your distro though)
> 
> Cheers,

Well,

I fixed the problem on an other way:

xinitrc.xfce:

xrdb -nocpp -merge - << EOF
Xft.rgba: none
Xft.dpi: 96
Xft.hinting: 1
Xft.hintstyle: hintmedium
EOF

Xft.rgba: none <-- disables subpixel rendering :)

Works fine now.

thanks for the help

Valentin




More information about the Xfce mailing list