font/anti-alias problem

Olivier Fourdan fourdan at xfce.org
Sun Nov 16 14:45:41 CET 2003


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,
-- 
Olivier Fourdan - fourdan at xfce.org
   
   Interoperability is the keyword, uniformity is a dead end. 
   http://www.xfce.org






More information about the Xfce mailing list