From 5d929b13742d767f38095110b21ab41e4d9a1e4d Mon Sep 17 00:00:00 2001 From: Huw Davies Date: Tue, 8 Jul 2008 13:20:55 +0100 Subject: [PATCH] gdiplus: Add a test to show that bitmap fonts aren't used for fontfamilies. --- dlls/gdiplus/tests/font.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dlls/gdiplus/tests/font.c b/dlls/gdiplus/tests/font.c index 51fd3273aea..8bf12896e7e 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); -- 2.11.4.GIT