-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't open in Linux: System.InvalidOperationException: Default font family name can't be null or empty. Trhown when executing #84
Comments
It seems to be an unsolved issue at Avalonia: AvaloniaUI/Avalonia#4427 |
I had the same issue on arch as well. Installing ttf-dejavu fixed it for me. |
Thanks bro. Fix works for me too (on arch as well). |
This issue is also happening when the system language is set to Korean or Japanese and probably any other language with non-Latin characters as well. (tested on a fresh Ubuntu 20.10 VM x86_64) I can fix this font loading issue by launching my app with a modified locale environment variable: LC_ALL=C ./YourAvaloniaExecutable |
I just encountered this issue on my Fedora 40 machine and unfortunately, neither installing various windows fonts nor overriding the locale fixed the error. Is there anything else that I can try or will I have to wait for Avalonia to hopefully fix it on their end someday? |
Steps to reproduce
./ILSpy
My Machine
uname -a
Linux khamsin-legion 5.14.16-arch1-1 #1 SMP PREEMPT Tue, 02 Nov 2021 22:22:59 +0000 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: