On a Linux system without any installed font, the app crashes at startup: System.InvalidOperationException: Default font family name can't be null or empty from Avalonia.Media.FontManager. Seen in a clean archlinux container; installing ttf-dejavu fixes it. Desktop installs have fonts, but the app should not depend on that, and the look currently differs between Segoe UI (Windows) and whatever Linux provides (DejaVu here).
Bundle the Inter font through Avalonia's official Avalonia.Fonts.Inter package (NativeAOT-safe; record it in the PR as a new package) and make it the default family (WithInterFont()).
A test that the app builds its window when the system has no fonts; check it in the clean Arch container.
Re-take the screenshots: layout and text widths change slightly with the font.
On a Linux system without any installed font, the app crashes at startup: `System.InvalidOperationException: Default font family name can't be null or empty` from `Avalonia.Media.FontManager`. Seen in a clean `archlinux` container; installing `ttf-dejavu` fixes it. Desktop installs have fonts, but the app should not depend on that, and the look currently differs between Segoe UI (Windows) and whatever Linux provides (DejaVu here).
- [ ] Bundle the Inter font through Avalonia's official `Avalonia.Fonts.Inter` package (NativeAOT-safe; record it in the PR as a new package) and make it the default family (`WithInterFont()`).
- [ ] A test that the app builds its window when the system has no fonts; check it in the clean Arch container.
- [ ] Re-take the screenshots: layout and text widths change slightly with the font.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
On a Linux system without any installed font, the app crashes at startup:
System.InvalidOperationException: Default font family name can't be null or emptyfromAvalonia.Media.FontManager. Seen in a cleanarchlinuxcontainer; installingttf-dejavufixes it. Desktop installs have fonts, but the app should not depend on that, and the look currently differs between Segoe UI (Windows) and whatever Linux provides (DejaVu here).Avalonia.Fonts.Interpackage (NativeAOT-safe; record it in the PR as a new package) and make it the default family (WithInterFont()).