Akihiro Sagawa : Revert "gdi32: Use the default character when the glyph is missing.".

Alexandre Julliard julliard at winehq.org
Wed Jul 31 15:31:34 CDT 2013


Module: wine
Branch: master
Commit: 01280cff91896bf3cbd19fbc66d464162598768e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=01280cff91896bf3cbd19fbc66d464162598768e

Author: Akihiro Sagawa <sagawa.aki at gmail.com>
Date:   Wed Jul 31 23:16:24 2013 +0900

Revert "gdi32: Use the default character when the glyph is missing.".

This reverts commit 15aa8daf6447b6f819dfc8de15db7db7645738ef.
It breaks the default character rendering in some bitmap fonts, e.g. Fixedsys.

---

 dlls/gdi32/freetype.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c
index 72d8377..a994132 100644
--- a/dlls/gdi32/freetype.c
+++ b/dlls/gdi32/freetype.c
@@ -7628,7 +7628,6 @@ static BOOL get_glyph_index_linked(GdiFont *font, UINT c, GdiFont **linked_font,
     }
 
 done:
-    *glyph = get_default_char_index(font);
     *vert = FALSE;
     return FALSE;
 }




More information about the wine-cvs mailing list