Name a monospace font list instead of the generic monospace

The generic name only resolves through fontconfig, so on Windows the
windows fell back to the proportional default.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-24 01:07:47 +00:00
co-authored by Claude Sonnet 5.5
parent ae37e0be53
commit 29d3a0f016
18 changed files with 55 additions and 29 deletions
@@ -1,3 +1,4 @@
using Nonemm.App.Theming;
using Avalonia.Controls;
using Avalonia.Input;
using Avalonia.Layout;
@@ -85,7 +86,7 @@ public sealed partial class AvailableWindow : RefreshableWindow
TextBlock text = new()
{
Text = Label(station),
FontFamily = new FontFamily("monospace"),
FontFamily = Fonts.Mono,
FontSize = 13,
Foreground = Verdicts.Colour(station.Verdict),
HorizontalAlignment = HorizontalAlignment.Left,