Hi.

[PATCH 1/2] Improve FT_Outline_Embolden for the unintended arfifacts problem (#45597):

- The mathematical background is clearly added to the patch.
- Some error situation processing is done naturally during the formula 
processing.
- At the bauhaus_256px_win7_ie9.png file, you can see that Microsoft's embolden did not properly inhibits the unintended artifacts. This patch will handled properly. - Because the strength value also affects the unintended artifacts creation, the strength formula of [PATCH 2/2] should also be used.


[PATCH 2/2] Improve FT_GlyphSlot_Embolden to match more with Microsoft Windows looks:

- The DirectWrite font rendering appears to have deleted the strange transformation from the existing GDI. For reference, the GDI matching code has not been deleted.
- "Advance" values are important to match text layouts.
- The strength value must be an integer pixel value to inhibits blurring the hinted outline.

More details are commented on the patch.

Thanks.

---
 src/base/ftoutln.c | 172 +++++++++++++++++++++++++++++++++++++++++++++
 src/base/ftsynth.c |  92 ++++++++++++++++++------
 2 files changed, 242 insertions(+), 22 deletions(-)

--
2.19.0



_______________________________________________
Freetype-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to