Subject: Re: Disabling anti-aliasing (specifically in GTK)
To: Jeremy C. Reed <firstname.lastname@example.org>
From: Alex <email@example.com>
Date: 05/12/2007 08:15:42
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">
>>> <match target="font">
>>> <edit name="antialias" mode="assign">
>>> I have also tried setting "GDK_USE_XFT = 0" before executing the programs.
>>> Nothing works for me.
>>> Thanks for your help.
>> 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
That worked perfectly. The install script pointed to
/usr/local/etc/fontconfig (I've set /usr/local/ to my default prefix).
After moving the fonts.conf and local.conf file there, everything works
fine without the need for per-user configurations.