Fri, 03 Feb 2012 15:38:02 +0000, Loki Harfagr did cat :
> Thu, 02 Feb 2012 12:42:59 -0600, grant did cat :
>
>> Just upgraded from freetype-2.3.9 to freetype-2.4.8 on Slackware 13.0. My
>> fonts now look thin/puny and are not as legible/readable as they were
>> under freetype-2.3.9.
>>
>> Has anybody else noticed a problem with the new freetype and their fonts
>> looking worse than before the "upgrade"?
>>
>> Have played around with rebuilding the font-cache, adding some new lines
>> to my ~/.fonts.conf and searching for other possible fixes to what I'm
>> seeing. Other than going back to freetype-2.3.9, what should I do to get
>> my fonts readable again?
>
> Yup, some fonts treats were more vamped/repaired within the 2.4.* evolution on
> freetype, I'd bet you're having some trouble with aliasing, be
> sure to activate it:
>
> <match target="font">
> <edit name="antialias" mode="assign">
> <bool>true</bool>
> </edit>
> </match>
>
> you may like and try to play with some other settings like
> autohint+hinstyle and lcdfilter, all this can be setup in
> local.conf or simply ~/.fonts.conf (but you knew that ;-)
>
> as I use 18" and 23" 1920* monitor and quite tiny fonts
> (eg Droid Sans 8 or 7 or DejaVu Condensed 7) I use these settings:
...
and as your post re-awakened my curiosity about the topic
I checked again and found some settings that suited me even better
(and allowed me to repaire two tiny typos hidden in my previous conf :-)
here it is for info but mind that it's related to my LCDs my eyes
and my color perception it may suit you or not at all :D)
--------
cat .fonts.conf
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<!-- rgb bgr rgba bgra -->
<match target="font">
<edit name="rgba" mode="assign"><const>rgb</const></edit>
</match>
<match target="font">
<edit mode="assign" name="hinting">
<bool>true</bool>
</edit>
</match>
<!-- none slight medium full -->
<match target="font">
<edit mode="assign" name="hintstyle">
<const>hintslight</const>
</edit>
</match>
<!-- most important setting for this Flatron -->
<match target="font">
<edit mode="assign" name="antialias">
<bool>true</bool>
</edit>
</match>
<!-- none default light legacy -->
<match target="font">
<edit mode="assign" name="lcdfilter">
<const>lcddefault</const>
</edit>
</match>
<!-- no autohinting for bold fonts -->
<match target="font">
<test name="weight" compare="more">
<const>medium</const>
</test>
<edit name="autohint" mode="assign">
<bool>false</bool>
</edit>
</match>
<dir>~/.fonts</dir>
</fontconfig>
--------