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: Dave Arnold
Subject: Re: [ft-devel] Autohinter: stem darkening, first rough prototype
Date: Wed, 2 Sep 2015 07:20:35 -0700
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0

Two quick thoughts:

Don't use .jpg for screen shots. The compression hinders analysis of the 
rendered pixels. I recommend lossless .png.

Are you missing a units-per-em normalization somewhere? I.e., 1000 CFF vs. 2048 
TTF? Could that be causing too much darkening?

-Dave

On 9/1/2015 1:26 PM, Nikolaus Waxweiler wrote:
What is the situation with SanSerif fonts? Serifs may turn to spikes
at low resolutions. This is problematic for the emboldener.
If SanSerifs are better, try -0xDDB4 on ftoutln.c:978. This will more
aggressively reject 150-degree or sharper spikes.

http://postimg.org/image/nuivug5l7

Gamma: 1.8
Top row: git master, no emboldening.
Bottom row: emboldening (default CFF parameters, lower size limit 4ppem), your 
safe guard and -0xDDB4.

Still ugly.

You can experiment yourself if you want to, clone my branch and do e.g. 
"LD_PRELOAD=objs/.libs/libfreetype.so ftview 16 
/usr/share/fonts/dejavu/DejaVuSerif.ttf"

_______________________________________________
Freetype-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/freetype-devel
.





reply via email to

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