[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] State of autohinter stem darkening
From: |
Markus Trippelsdorf |
Subject: |
Re: [ft-devel] State of autohinter stem darkening |
Date: |
Tue, 3 Nov 2015 17:23:50 +0100 |
On 2015.11.03 at 17:07 +0100, Werner LEMBERG wrote:
>
> > it looks like it [stem darkening] only works with hinting
> > (autohinter) switched on.
>
> Correct.
>
> > But then cff gets disabled for OpenType fonts...
>
> This depends...
>
> > I like my fonts unhinted and would like to use OpenType fonts with
> > cff and TrueType fonts with the new stem-darkening at the same time.
>
> ... on your fontconfig setup, which must be adjusted accordingly.
Can you tell me how?
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<match target="font">
<edit mode="assign" name="autohint">
<bool>true</bool>
</edit>
</match>
<match target="font">
<edit mode="assign" name="lcdfilter">
<const>lcdlight</const>
</edit>
</match>
<dir>~/.fonts</dir>
<match target="font">
<edit mode="assign" name="rgba">
<const>vrgb</const>
</edit>
</match>
<match target="font">
<edit mode="assign" name="hinting">
<bool>true</bool>
</edit>
</match>
<match target="font">
<edit mode="assign" name="hintstyle">
<const>hintnone</const>
</edit>
</match>
<match target="font">
<edit mode="assign" name="antialias">
<bool>true</bool>
</edit>
</match>
</fontconfig>
With this config I get no TT stem darkening at all.
If I change to hintstyle->hintslight stem darkening for TT gets switched
on, but then my OpenType fonts get distorted.
--
Markus
- Re: [ft-devel] State of autohinter stem darkening, Werner LEMBERG, 2015/11/03
- Re: [ft-devel] State of autohinter stem darkening, Markus Trippelsdorf, 2015/11/03
- Re: [ft-devel] State of autohinter stem darkening, Markus Trippelsdorf, 2015/11/03
- Re: [ft-devel] State of autohinter stem darkening, Werner LEMBERG, 2015/11/03
- Re: [ft-devel] State of autohinter stem darkening,
Markus Trippelsdorf <=
- Re: [ft-devel] State of autohinter stem darkening, Werner LEMBERG, 2015/11/03
- Re: [ft-devel] State of autohinter stem darkening, Markus Trippelsdorf, 2015/11/03
- Re: [ft-devel] State of autohinter stem darkening, Nikolaus Waxweiler, 2015/11/03
- Re: [ft-devel] State of autohinter stem darkening, Markus Trippelsdorf, 2015/11/03
- Re: [ft-devel] State of autohinter stem darkening, Nikolaus Waxweiler, 2015/11/03