diff --git a/dlls/gdiplus/font.c b/dlls/gdiplus/font.c index 0dcfad34bbb..da37279fbef 100644 --- a/dlls/gdiplus/font.c +++ b/dlls/gdiplus/font.c @@ -1036,15 +1036,15 @@ GpStatus WINGDIPAPI GdipGetGenericFontFamilySansSerif(GpFontFamily **nativeFamil stat = GdipCreateFontFamilyFromName(L"Microsoft Sans Serif", NULL, nativeFamily); + if (stat == FontFamilyNotFound) + stat = GdipCreateFontFamilyFromName(L"Tahoma", NULL, nativeFamily); + if (stat == FontFamilyNotFound) stat = GdipCreateFontFamilyFromName(L"Arial", NULL, nativeFamily); if (stat == FontFamilyNotFound) stat = GdipCreateFontFamilyFromName(L"Liberation Sans", NULL, nativeFamily); - if (stat == FontFamilyNotFound) - stat = GdipCreateFontFamilyFromName(L"Tahoma", NULL, nativeFamily); - return stat; }