gdiplus: Prefer Tahoma for generic sans serif font.

Partial revert of 413fc34be7.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55421
This commit is contained in:
Esme Povirk 2024-01-26 16:38:38 +00:00 committed by Alexandre Julliard
parent c3918f2a82
commit 294efcdf44

View file

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