[PATCH v3 3/3] gdi32: Use the WINE_GGO_GRAY16_BITMAP at the subpixel_rendering fallback mode.
Byeongsik Jeon
bsjeon at hanmail.net
Tue Nov 6 01:08:08 CST 2018
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=41639
Signed-off-by: Byeongsik Jeon <bsjeon at hanmail.net>
---
XQuartz2.7.11 Freetyep2.7 is disabled the subpixel rendering.
https://bugs.winehq.org/show_bug.cgi?id=41639#c35
https://bugs.winehq.org/show_bug.cgi?id=41639#c40
This improves the quality of the gray antialias rendering at the subpixel
rendering *fallback* mode.
dlls/gdi32/freetype.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c
index 56d1e99873..9f0808ec6e 100644
--- a/dlls/gdi32/freetype.c
+++ b/dlls/gdi32/freetype.c
@@ -5801,7 +5801,7 @@ done:
case WINE_GGO_VRGB_BITMAP:
case WINE_GGO_VBGR_BITMAP:
if (is_subpixel_rendering_enabled()) break;
- *aa_flags = GGO_GRAY4_BITMAP;
+ *aa_flags = WINE_GGO_GRAY16_BITMAP;
/* fall through */
case GGO_GRAY2_BITMAP:
case GGO_GRAY4_BITMAP:
--
2.19.1
More information about the wine-devel
mailing list