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

This commit is contained in:
Huw Davies 2008-07-08 13:20:55 +01:00 committed by Alexandre Julliard
parent 0164bffd9a
commit 5d929b1374
1 changed files with 7 additions and 0 deletions

View File

@ -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);