Subject: Re: Disabling anti-aliasing (specifically in GTK)
To: Alex <schatziegill@comcast.net>
From: Alex <schatziegill@comcast.net>
List: netbsd-users
Date: 05/11/2007 22:44:13
On 05/11/07 22:28, Alex wrote:
> I want to disable anti-aliasing on my fonts because the fuzziness is 
> getting to me. However, nothing I do seems to have any effect in GTK 
> applications I use (including Firefox, Thunderbird, Gaim, and Evince).
>
> My /etc/fonts/local.conf file is as follows:
>
> ======
> <?xml version="1.0"?>
> <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
> <fontconfig>
>    <match target="font">
>        <edit name="antialias" mode="assign">
>            <bool>false</bool>
>        </edit>
>    </match>
> </fontconfig>
> ======
>
> I have also tried setting "GDK_USE_XFT = 0" before executing the 
> programs. Nothing works for me.
>
> Thanks for your help.
>
> -Alex
>
Well, I just solved my own problem. I guess I should have waited a bit 
before sending out this call for help. :)

For some reason, /etc/fonts/local.conf is not being read properly. 
However, if I copy it to ~/.fonts.conf then it works just fine. I don't 
know why local.conf isn't read since in /etc/fonts/fonts.conf it says 
"Place any local customizations in local.conf which this file 
references", then later includes the file. The permissions on fonts.conf 
and local.conf are the same.

-Alex