[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] Autohinter: stem darkening, first rough prototype
From: |
Werner LEMBERG |
Subject: |
Re: [ft-devel] Autohinter: stem darkening, first rough prototype |
Date: |
Wed, 26 Aug 2015 19:59:15 +0200 (CEST) |
>>> It should be monotonic. It should have a minimum of around .4 or
>>> .5 pixels. It should go to zero at around 2 pixels.
>>
>> darkening = stem < 2 ? 0.5 - stem / 4 : 0; /* THIS IS IT! */
>>
>> Why does it have to be more complex than this and be so kinky?
>>
> Your simplified function may be good enough. [...]
Well, we now have the four (x,y) parameters to control the curve, and
I would prefer to not introduce *another* curve just for the
auto-hinter. I think we all agree that the CFF solution is adequate
to the problem, and IMHO the additional computational effort in
comparison to the above, simpler curve is neglegible.
So let's stay with what we have, for the sake of a uniform interface
to stem darkening.
Werner
- Re: [ft-devel] Autohinter: stem darkening, first rough prototype, (continued)
Re: [ft-devel] Autohinter: stem darkening, first rough prototype, Alexei Podtelezhnikov, 2015/08/23
- Re: [ft-devel] Autohinter: stem darkening, first rough prototype, Werner LEMBERG, 2015/08/23
- Re: [ft-devel] Autohinter: stem darkening, first rough prototype, Alexei Podtelezhnikov, 2015/08/24
- Re: [ft-devel] Autohinter: stem darkening, first rough prototype, Werner LEMBERG, 2015/08/24
- Re: [ft-devel] Autohinter: stem darkening, first rough prototype, Dave Arnold, 2015/08/25
- Re: [ft-devel] Autohinter: stem darkening, first rough prototype, Alexei Podtelezhnikov, 2015/08/26
- Re: [ft-devel] Autohinter: stem darkening, first rough prototype, Dave Arnold, 2015/08/26
- Re: [ft-devel] Autohinter: stem darkening, first rough prototype,
Werner LEMBERG <=
- Re: [ft-devel] Autohinter: stem darkening, first rough prototype, Behdad Esfahbod, 2015/08/26
- Re: [ft-devel] Autohinter: stem darkening, first rough prototype, Werner LEMBERG, 2015/08/27
- Re: [ft-devel] Autohinter: stem darkening, first rough prototype, Alexei Podtelezhnikov, 2015/08/27
- Re: [ft-devel] Autohinter: stem darkening, first rough prototype, Werner LEMBERG, 2015/08/27
- Re: [ft-devel] Autohinter: stem darkening, first rough prototype, Alexei Podtelezhnikov, 2015/08/27
- Re: [ft-devel] Autohinter: stem darkening, first rough prototype, Nikolaus Waxweiler, 2015/08/27
- Re: [ft-devel] Autohinter: stem darkening, first rough prototype, Alexei Podtelezhnikov, 2015/08/27
- Re: [ft-devel] Autohinter: stem darkening, first rough prototype, Nikolaus Waxweiler, 2015/08/27
- Re: [ft-devel] Autohinter: stem darkening, first rough prototype, Dave Arnold, 2015/08/27
- Re: [ft-devel] Autohinter: stem darkening, first rough prototype, Alexei Podtelezhnikov, 2015/08/27