freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] [PATCH 0/2] Improve embolden function.


From: Byeongsik Jeon
Subject: Re: [ft-devel] [PATCH 0/2] Improve embolden function.
Date: Fri, 5 Oct 2018 03:58:55 +0900
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0

The correct patch file.


On Fri, 5 Oct 2018 03:50:14 +0900, Byeongsik Jeon <address@hidden> wrote:
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(-)


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

Attachment: 0001-Improve-FT_Outline_Embolden-for-the-unintended-arfif.patch
Description: Text Data

Attachment: 0002-Improve-FT_GlyphSlot_Embolden-to-match-more-with-Mic.patch
Description: Text Data


reply via email to

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