gdiplus: Add a test to show that bitmap fonts aren't used for fontfamilies.
This commit is contained in:
parent
0164bffd9a
commit
5d929b1374
|
@ -166,6 +166,13 @@ static void test_fontfamily (void)
|
||||||
ok ((lstrcmpiW(itsName, nonexistant) != 0),
|
ok ((lstrcmpiW(itsName, nonexistant) != 0),
|
||||||
"Expected a non-zero value for nonexistant font!\n");
|
"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);
|
stat = GdipCreateFontFamilyFromName (arial, NULL, &family);
|
||||||
expect (Ok, stat);
|
expect (Ok, stat);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue