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>
13 lines
411 B
C#
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");
|
|
}
|