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:
@@ -0,0 +1,12 @@
|
||||
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");
|
||||
}
|
||||
Reference in New Issue
Block a user