[PATCH 0/1] MR3611: gdiplus: set Tahoma font in case MS Sans Serif is missing
It seems that Tahoma is better replacement than Arial in Wine, even if it is implemented in that way in native library. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55421 -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3611
From: Bartosz Kosiorek <gang65(a)poczta.onet.pl> Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55421 --- dlls/gdiplus/font.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/dlls/gdiplus/font.c b/dlls/gdiplus/font.c index 7bd60750e6d..65bccb7ba6a 100644 --- a/dlls/gdiplus/font.c +++ b/dlls/gdiplus/font.c @@ -1034,12 +1034,6 @@ GpStatus WINGDIPAPI GdipGetGenericFontFamilySansSerif(GpFontFamily **nativeFamil stat = GdipCreateFontFamilyFromName(L"Microsoft Sans Serif", 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); -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/3611
participants (2)
-
Bartosz Kosiorek -
Bartosz Kosiorek (@gang65)