mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[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
This commit is contained in:
parent
4cfe7f84bb
commit
87279857bb
1 changed files with 2 additions and 2 deletions
|
@ -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 ) */
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue