I'm trying to change my font settings to use rgb hinting with
fontconfig's hintslight setting, however, it seems that all GTK
applications (except for Firefox) ignore these settings.  My current
~/.fonts.conf looks like this:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
        <match target="font" >
                <edit mode="assign" name="rgba" >
                        <const>rgb</const>
                </edit>
                <edit mode="assign" name="hinting" >
                        <bool>true</bool>
                </edit>
                <edit mode="assign" name="hintstyle" >
                        <const>hintslight</const>
                </edit>
                <edit mode="assign" name="antialias" >
                        <bool>true</bool>
                </edit>
        </match>
</fontconfig>

However, instead of seeing rgb-hinted fonts, it is only using
grayscale-based hinting.  I do see (very bad) changes if I change
antialias to false, so I know that my .fonts.conf is being read
properly.  I'm not sure where exactly the problem lies (fontconfig,
cairo, etc.), but does anyone know how to get this to work properly?

I'm running -current.

(not subscribed to ports@, please keep me CC'd)

Josh Rickmar

Reply via email to