Subject: Re: Disabling anti-aliasing (specifically in GTK)
To: Alex <schatziegill@comcast.net>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: netbsd-users
Date: 05/12/2007 15:38:21
On Sat, 12 May 2007 08:15:42 -0700
Alex <schatziegill@comcast.net> wrote:

> On 05/11/07 22:52, Jeremy C. Reed wrote:
> > 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.

I suspect there should be a patch in pkgsrc to change that comment.

		--Steve Bellovin, http://www.cs.columbia.edu/~smb