Change the fallback font to Vista/XP font

This commit is contained in:
walterlv 2024-03-28 19:29:30 +08:00
parent 8f3e178985
commit 3f6b974e42

View file

@ -60,7 +60,11 @@ namespace SourceGit.Native
builder.With(new FontManagerOptions() builder.With(new FontManagerOptions()
{ {
DefaultFamilyName = SystemParameters.GetSystemDefaultFontName() ?? "Segoe UI", 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 // Fix drop shadow issue on Windows 10