Files
Nonemm/src/Nonemm.App/Theming/Fonts.cs
T
erikbrockoandClaude Sonnet 5.5 29d3a0f016 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>
2026-10-24 01:07:47 +00:00

13 lines
411 B
C#

using Avalonia.Media;
namespace Nonemm.App.Theming;
public static class Fonts
{
/// The generic name `monospace` only resolves through fontconfig, so on
/// Windows it falls back to the proportional default. Each family listed is
/// tried in order.
public static readonly FontFamily Mono = new(
"Cascadia Mono, Consolas, DejaVu Sans Mono, Liberation Mono, Courier New, monospace");
}