I had a quick look at various fonts and darkening seemed fine, but CJK
glyphs (SourceHanSansCN-Regular.otf) appeared a bit thin compared to the
CFF engine. Will investigate... some other time.

I think I figured it out. Reverted commit c5b5e469b34ddc87fa379bfa0a5379835191ee23.

Turns out my fix was no fix. The original algorithm used by
the CFF engine halved the darkeningAmount for each side. In the
autohinter, FT_Outline_EmboldenXY does it for us, so don't halve. This
leads to much thicker stems, especially for CJK glyphs.

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

Reply via email to