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:
parent
c3918f2a82
commit
294efcdf44
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue