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
Freetype-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/freetype-devel
.
_______________________________________________
Freetype-devel mailing list
Freetype-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/freetype-devel