Skip to content

[BUG] Linux and MacOS need bundled UI fonts #5420

Description

@Meteoni

Please confirm these before moving forward

  • I have searched for my issue and have not found a work-in-progress/duplicate/resolved issue.
  • I have tested that this issue has not been fixed in the latest (beta or stable) release.
  • I have checked the FAQ section for solutions.
  • This issue is about a bug (if it is not, please use the correct template).

UniGetUI Version

Current

Windows version, edition, and architecture

.

Describe your issue

Currently, UniGetUI explicitly manages its default UI font on Windows through UiFontPolicy, while on Linux and macOS it leaves the font unspecified and lets Avalonia resolve the platform default.

This is reasonable from a native-platform perspective, but it also means UniGetUI's typography can vary substantially depending on the Linux distribution, desktop environment, installed fonts, and fontconfig configuration. Since much of the UI was originally designed around Segoe UI/WinUI metrics, some system defaults can make spacing, control sizing, and the overall appearance noticeably different.

Would it make sense to bundle a known UI font with the Avalonia application and use it as the default on Linux and macOS?

For example, an OFL-licensed font such as Selawik or Inter could be shipped as an application resource. Windows could continue using the existing Segoe UI-based logic, while Linux and macOS would get a predictable primary font regardless of what is installed on the host.

Steps to reproduce the issue

No response

UniGetUI Log

.

Package Managers Logs

.

Relevant information

No response

Screenshots and videos

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions