From 3f6b974e424cf28d381e3de11b594a4301b5af1b Mon Sep 17 00:00:00 2001 From: walterlv Date: Thu, 28 Mar 2024 19:29:30 +0800 Subject: [PATCH] Change the fallback font to Vista/XP font --- src/SourceGit/Native/Windows.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/SourceGit/Native/Windows.cs b/src/SourceGit/Native/Windows.cs index 248798d5..f09257b1 100644 --- a/src/SourceGit/Native/Windows.cs +++ b/src/SourceGit/Native/Windows.cs @@ -60,7 +60,11 @@ namespace SourceGit.Native builder.With(new FontManagerOptions() { DefaultFamilyName = SystemParameters.GetSystemDefaultFontName() ?? "Segoe UI", - FontFallbacks = [new FontFallback { FontFamily = "Segoe UI" }], + FontFallbacks = + [ + new FontFallback { FontFamily = "Segoe UI" }, + new FontFallback { FontFamily = "Tahoma" }, + ], }); // Fix drop shadow issue on Windows 10