Tobias Ulmer:

> >   When I run the application on a remote X11 display, some fonts
> >   (e.g. the one used for the menus) have colored fringes.  I don't
> >   know if this is some sort of anti-aliasing gone wrong, but it
> >   looks a lot like chromatic aberration in analog optics.  This is
> >   definitely a problem that affects all Gtk+2-based applications.
> 
> That's caused by fontconfig. You might want to create a ~/.fonts.conf
> with this:

I'm a month late, but I have finally looked at this.

> <?xml version="1.0"?><!DOCTYPE fontconfig SYSTEM "fonts.dtd">
> <fontconfig>
>  <match target="font" >
>   <edit mode="assign" name="rgba" >
>    <const>none</const>
>   </edit>
>  </match>
>  <match target="font" >
>   <edit mode="assign" name="lcdfilter" >
>    <const>lcdnone</const>
>   </edit>
>  </match>
>  <match target="font" >
>   <edit mode="assign" name="hintstyle" >
>     <const>hintfull</const>
>   </edit>
>  </match>
> </fontconfig>

The lcdfilter property doesn't exist and the other settings have
no effect.

> http://fontconfig.org/fontconfig-user.html for possible values.

Or /usr/X11R6/share/doc/fontconfig/fontconfig-user.* for that matter.
Alas, the description of the available properties is minimal and
the values are undocumented.

As usual, Google reveals a lively scene where people pass around
magic fonts.conf incantations that are rumored to cure various ills,
but real understanding appears absent.

Sigh.

-- 
Christian "naddy" Weisgerber                          na...@mips.inka.de

Reply via email to