Skip to content

Add font fallback settings - #2

Draft
admannon with Copilot wants to merge 2 commits into
masterfrom
copilot/support-font-fallback-settings
Draft

Add font fallback settings#2
admannon with Copilot wants to merge 2 commits into
masterfrom
copilot/support-font-fallback-settings

Conversation

Copilot AI commented Feb 21, 2026

Copy link
Copy Markdown

Users had no way to specify fallback fonts for characters not covered by their primary fonts (e.g., CJK glyphs). This adds a FontFallback preference that appends user-specified fonts to both the default and monospace font chains.

Changes

  • ViewModels/Preferences.cs: Added FontFallback property; updated DefaultFontFamily and MonospaceFontFamily setters to include _fontFallback in SetFonts calls
  • App.axaml.cs: SetFonts now accepts a fallbackFont parameter — appended to Fonts.Default and Fonts.Monospace. When only fallbackFont is set (no custom default font), Inter is preserved as primary: fonts:Inter#Inter,{fallbackFont}
  • Views/Preferences.axaml: New "Font Fallback" text field in the Appearance tab, after Monospace Font
  • en_US.axaml: Added Text.Preferences.Appearance.FontFallback key

Behavior

State Fonts.Default Fonts.Monospace
Only fallbackFont set fonts:Inter#Inter,{fallback} fonts:SourceGit#JetBrains Mono,{fallback}
defaultFont + fallbackFont {default},{fallback} fonts:SourceGit#JetBrains Mono,{default},{fallback}
All three set {default},{fallback} {mono},{default},{fallback}

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • av-build-tel-api-v1.avaloniaui.net
    • Triggering command: /usr/share/dotnet/dotnet dotnet exec --runtimeconfig /home/REDACTED/.nuget/packages/avalonia.buildservices/11.3.2/tools/netstandard2.0/runtimeconfig.json /home/REDACTED/.nuget/packages/avalonia.buildservices/11.3.2/tools/netstandard2.0/Avalonia.BuildServices.Collector.dll /home/REDACTED/work/sourcegit/sourcegit/src/Views/MergeMultiple.axaml /home/REDACTED/work/sourcegit/sourcegit/src/Views/FilterModeSwitchButton.axaml /home/REDACTED/work/sourcegit/sourcegit/src/Views/ChangeSubmoduleUrl.axaml /home/REDACTED/work/sourcegit/sourcegit/src/Views/PushTag.axaml /home/REDACTED/work/sourcegit/sourcegit/src/Views/CreateBranch.axaml /home/REDACTED/work/sourcegit/sourcegit/src/Views/DeleteBranch.axaml /home/REDACTED/work/sourcegit/sourcegit/src/Views/LauncherTabBar.axaml (dns block)
    • Triggering command: /usr/share/dotnet/dotnet dotnet exec --runtimeconfig /home/REDACTED/.nuget/packages/avalonia.buildservices/0.0.28/tools/netstandard2.0/runtimeconfig.json /home/REDACTED/.nuget/packages/avalonia.buildservices/0.0.28/tools/netstandard2.0/Avalonia.BuildServices.Collector.dll (dns block)
  • nuget-feed-all.avaloniaui.net
    • Triggering command: /usr/bin/dotnet dotnet build src/SourceGit.csproj owner --uid-owner 0 -j ACCEPT (dns block)
    • Triggering command: /opt/hostedtoolcache/CodeQL/2.24.0/x64/codeql/csharp/tools/linux64/Semmle.Autobuild.CSharp /opt/hostedtoolcache/CodeQL/2.24.0/x64/codeql/csharp/tools/linux64/Semmle.Autobuild.CSharp /var/lib/dpkg/info/libnuma1:amd64.list /var/lib/dpkg/info/emacsen-common.list /var/lib/dpkg/info/mysql-server-8.0.list (dns block)
    • Triggering command: /usr/bin/dotnet dotnet restore --no-dependencies /home/REDACTED/work/sourcegit/sourcegit/SourceGit.slnx --packages /home/REDACTED/work/sourcegit/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/sourcegit/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/sourcegit/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:AllowMissingPrunePackageData=true (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: admannon <1027194+admannon@users.noreply.github.com>
Copilot AI changed the title [WIP] Add support for font fallback settings Add font fallback settings Feb 21, 2026
Copilot AI requested a review from admannon February 21, 2026 03:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants