Subject: Re: Disabling anti-aliasing (specifically in GTK)
To: Alex <schatziegill@comcast.net>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-users
Date: 05/12/2007 00:52:27
On Fri, 11 May 2007, Alex wrote:

> > 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.

I am guessing you are using fontconfig from pkgsrc which is using probably 
/usr/pkg/etc/fontconfig/ directory.

Maybe you can see in the install script:

 pkg_info -i fontconfig | egrep '^PREFIX="|^# FILE: '

Or strings of the libfontconfig library used of your gtk.

  Jeremy C. Reed