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

Alexandre Julliard julliard at winehq.org
Wed May 22 13:46:59 CDT 2013


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

Author: Akihiro Sagawa <sagawa.aki at gmail.com>
Date:   Wed May 22 19:46:31 2013 +0900

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

---

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

diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c
index 50bd52b..e972c98 100644
--- a/dlls/gdi32/freetype.c
+++ b/dlls/gdi32/freetype.c
@@ -7301,6 +7301,7 @@ static BOOL get_glyph_index_linked(GdiFont *font, UINT c, GdiFont **linked_font,
             return TRUE;
         }
     }
+    *glyph = get_default_char_index(font);
     return FALSE;
 }
 




More information about the wine-cvs mailing list