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: Werner LEMBERG
Subject: Re: [ft-devel] Autohinter: stem darkening, first rough prototype
Date: Mon, 24 Aug 2015 06:06:43 +0200 (CEST)

>> I haven't yet looked closely at the new code, but I think that the
>> original one in function `cf2_computeDarkening' (in file
>> `cf2font.c') is quite straightforward – and it is well
>> commented :-)
> 
> I do not get why this function should be piecewise linear, rather
> than just linear.  Why can't we just use something like this?
> 
> darkenAmount = 0.5 pixels - ( scaledStem / 4 )

Dave Arnold explained this to me some years ago.  However, I no longer
can remember why Adobe introduced this feature.

Dave, can you please tell us the reason (again)?


    Werner

reply via email to

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