Huw Davies : gdiplus: Add a test to show that bitmap fonts aren' t used for fontfamilies.

Alexandre Julliard julliard at winehq.org
Tue Jul 8 14:35:16 CDT 2008


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

Author: Huw Davies <huw at codeweavers.com>
Date:   Tue Jul  8 13:20:55 2008 +0100

gdiplus: Add a test to show that bitmap fonts aren't used for fontfamilies.

---

 dlls/gdiplus/tests/font.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/dlls/gdiplus/tests/font.c b/dlls/gdiplus/tests/font.c
index 51fd327..8bf1289 100644
--- a/dlls/gdiplus/tests/font.c
+++ b/dlls/gdiplus/tests/font.c
@@ -166,6 +166,13 @@ static void test_fontfamily (void)
     ok ((lstrcmpiW(itsName, nonexistant) != 0),
         "Expected a non-zero value for nonexistant font!\n");
 
+    /* Bitmap fonts are not found */
+todo_wine
+{
+    stat = GdipCreateFontFamilyFromName (MSSansSerif, NULL, &family);
+    expect (FontFamilyNotFound, stat);
+}
+
     stat = GdipCreateFontFamilyFromName (arial, NULL, &family);
     expect (Ok, stat);
 




More information about the wine-cvs mailing list