https://git.reactos.org/?p=reactos.git;a=commitdiff;h=87279857bbc581a6ad31e…
commit 87279857bbc581a6ad31e8b73588739ea15d9049
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Wed Jul 31 21:57:42 2019 +0900
Commit: GitHub <noreply(a)github.com>
CommitDate: Wed Jul 31 21:57:42 2019 +0900
[FREETYPE] Improve font rendering with font hinting workaround (#1771)
CORE-15762, CORE-16232
It seems some fonts are blurry or in bad rendering because of FreeType Font Hinting
implementation.
This PR is subpixel2.patch from CORE-16232, based on the following comment:
https://bugs.launchpad.net/ubuntu/+source/freetype/+bug/1722508/comments/29
---
sdk/lib/3rdparty/freetype/include/freetype/config/ftoption.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sdk/lib/3rdparty/freetype/include/freetype/config/ftoption.h
b/sdk/lib/3rdparty/freetype/include/freetype/config/ftoption.h
index 28888510811..ae2c8bc3883 100644
--- a/sdk/lib/3rdparty/freetype/include/freetype/config/ftoption.h
+++ b/sdk/lib/3rdparty/freetype/include/freetype/config/ftoption.h
@@ -118,7 +118,7 @@ FT_BEGIN_HEADER
/* rendering technology that produces excellent output without LCD */
/* filtering. */
/* */
-/* #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING */
+#define FT_CONFIG_OPTION_SUBPIXEL_RENDERING
/*************************************************************************/
@@ -654,7 +654,7 @@ FT_BEGIN_HEADER
/* [1]
https://www.microsoft.com/typography/cleartype/truetypecleartype.aspx */
/* */
/* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING 1 */
-#define TT_CONFIG_OPTION_SUBPIXEL_HINTING 2
+/* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING 2 */
/* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING ( 1 | 2 ) */