freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] Autohinter: stem darkening, first rough prototype


From: Alexei Podtelezhnikov
Subject: Re: [ft-devel] Autohinter: stem darkening, first rough prototype
Date: Wed, 26 Aug 2015 09:02:18 -0400

On Tue, Aug 25, 2015 at 6:50 PM, Dave Arnold <address@hidden> wrote:
> 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?
Perhaps, the piecewise-linear function was fitted specifically for
light regular and bold, wasn't it? I am just guessing, while wandering
if we really need it.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]