Subject: Re: Disabling anti-aliasing (specifically in GTK)
To: Steven M. Bellovin <smb@cs.columbia.edu>
From: Alex <schatziegill@comcast.net>
List: netbsd-users
Date: 05/13/2007 10:10:54
On 05/12/07 12:38, Steven M. Bellovin wrote:
> 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
>
>
Well I think it was only because I had fonts.conf and local.conf in
/etc/fonts when they should have been in /usr/local/etc/fontconfig . I'm
not sure if I originally put them in the wrong location, or if they are
installed there by default.
-Alex