Commit 5d929b13 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

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

parent 0164bffd
...@@ -166,6 +166,13 @@ static void test_fontfamily (void) ...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment