[PATCH 0/1] MR4949: gdiplus: Prefer Tahoma for generic sans serif font.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55421 Partial revert of 413fc34be7fca948dc53b3eb8cd1a08e951f2b4e. Proton testing reveals that Arial font breaks another launcher, and it's not known to fix anything. Native behavior doesn't really matter here (since it's a situation that Windows will never encounter in practice), so go with the font that seems to be a better match until we have a proper replacement for Microsoft Sans Serif (not to be confused with MS Sans Serif). -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4949
From: Esme Povirk <esme(a)codeweavers.com> Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55421 Partial revert of 413fc34be7fca948dc53b3eb8cd1a08e951f2b4e. --- dlls/gdiplus/font.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 @@ -1037,13 +1037,13 @@ GpStatus WINGDIPAPI GdipGetGenericFontFamilySansSerif(GpFontFamily **nativeFamil stat = GdipCreateFontFamilyFromName(L"Microsoft Sans Serif", NULL, nativeFamily); if (stat == FontFamilyNotFound) - stat = GdipCreateFontFamilyFromName(L"Arial", NULL, nativeFamily); + stat = GdipCreateFontFamilyFromName(L"Tahoma", NULL, nativeFamily); if (stat == FontFamilyNotFound) - stat = GdipCreateFontFamilyFromName(L"Liberation Sans", NULL, nativeFamily); + stat = GdipCreateFontFamilyFromName(L"Arial", NULL, nativeFamily); if (stat == FontFamilyNotFound) - stat = GdipCreateFontFamilyFromName(L"Tahoma", NULL, nativeFamily); + stat = GdipCreateFontFamilyFromName(L"Liberation Sans", NULL, nativeFamily); return stat; } -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/4949
participants (2)
-
Esme Povirk -
Esme Povirk (@madewokherd)