|
From: | Byeongsik Jeon |
Subject: | [ft-devel] [PATCH 0/2] Improve embolden function. |
Date: | Fri, 5 Oct 2018 03:50:14 +0900 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 |
Hi. Sorry. missed the attachments.[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
bauhaus_256px_gedit_current.png
Description: PNG image
bauhaus_256px_gedit_patched.png
Description: PNG image
bauhaus_256px_win7_ie9.png
Description: PNG image
lucon_12px_16px_win7_ie9.png
Description: PNG image
lucon_12px_gedit_bold_current.png
Description: PNG image
lucon_12px_gedit_bold_patched.png
Description: PNG image
lucon_12px_gedit_regular.png
Description: PNG image
lucon_16px_gedit_bold_current.png
Description: PNG image
lucon_16px_gedit_bold_patched.png
Description: PNG image
lucon_16px_gedit_regular.png
Description: PNG image
[Prev in Thread] | Current Thread | [Next in Thread] |