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
Default font family name can't be null or empty #749
Comments
I have the same problem here. Fonts are installed, but still gives a error OS: Manjaro Linux (fully updated as of 11th Sep 2020) Unhandled exception. System.InvalidOperationException: Default font family name can't be null or empty. |
Same issue here in Arch Linux:
|
To resolve this issue install
And for ubuntu based distros install |
[mwalk@arch netcoreapp3.1]$ ./AvalonStudio
Unhandled exception. System.InvalidOperationException: Default font family name can't be null or empty.
at Avalonia.Media.FontManager..ctor(IFontManagerImpl platformImpl)
at Avalonia.Media.FontManager.get_Current()
at Avalonia.Rendering.RendererBase..ctor(Boolean useManualFpsCounting)
at Avalonia.Rendering.DeferredRenderer..ctor(IRenderRoot root, IRenderLoop renderLoop, ISceneBuilder sceneBuilder, IDispatcher dispatcher, IDeferredRendererLock rendererLock)
at Avalonia.X11.X11Window.CreateRenderer(IRenderRoot root)
at Avalonia.Controls.TopLevel..ctor(ITopLevelImpl impl, IAvaloniaDependencyResolver dependencyResolver)
at Avalonia.Controls.WindowBase..ctor(IWindowBaseImpl impl, IAvaloniaDependencyResolver dependencyResolver)
at Avalonia.Controls.WindowBase..ctor(IWindowBaseImpl impl)
at Avalonia.Controls.Window..ctor(IWindowImpl impl)
at Avalonia.Controls.Window..ctor()
at AvalonStudio.Shell.Controls.MetroWindow..ctor() in /home/mwalk/tmp/AvalonStudio/AvalonStudio.Shell/src/AvalonStudio.Shell/Controls/MetroWindow.cs:line 63
at AvalonStudio.MainWindow..ctor() in /home/mwalk/tmp/AvalonStudio/AvalonStudio/AvalonStudio/MainWindow.xaml.cs:line 15
at AvalonStudio.App.OnFrameworkInitializationCompleted() in /home/mwalk/tmp/AvalonStudio/AvalonStudio/AvalonStudio/App.paml.cs:line 18
at Avalonia.Controls.AppBuilderBase
1.Setup() at Avalonia.Controls.AppBuilderBase
1.SetupWithLifetime(IApplicationLifetime lifetime)at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime[T](T builder, String[] args, ShutdownMode shutdownMode)
at AvalonStudio.Shell.Shell.StartShellApp[TAppBuilder](TAppBuilder builder, String appName, ShellAppMainDelegate main, String[] args, IFactory layoutFactory) in /home/mwalk/tmp/AvalonStudio/AvalonStudio.Shell/src/AvalonStudio.Shell/Shell.cs:line 17
at AvalonStudio.Program.Main(String[] args) in /home/mwalk/tmp/AvalonStudio/AvalonStudio/AvalonStudio/Program.cs:line 32
Aborted (core dumped)
[mwalk@arch netcoreapp3.1]$ ./AvalonStudio
Unhandled exception. System.InvalidOperationException: Default font family name can't be null or empty.
at Avalonia.Media.FontManager..ctor(IFontManagerImpl platformImpl)
at Avalonia.Media.FontManager.get_Current()
at Avalonia.Rendering.RendererBase..ctor(Boolean useManualFpsCounting)
at Avalonia.Rendering.DeferredRenderer..ctor(IRenderRoot root, IRenderLoop renderLoop, ISceneBuilder sceneBuilder, IDispatcher dispatcher, IDeferredRendererLock rendererLock)
at Avalonia.X11.X11Window.CreateRenderer(IRenderRoot root)
at Avalonia.Controls.TopLevel..ctor(ITopLevelImpl impl, IAvaloniaDependencyResolver dependencyResolver)
at Avalonia.Controls.WindowBase..ctor(IWindowBaseImpl impl, IAvaloniaDependencyResolver dependencyResolver)
at Avalonia.Controls.WindowBase..ctor(IWindowBaseImpl impl)
at Avalonia.Controls.Window..ctor(IWindowImpl impl)
at Avalonia.Controls.Window..ctor()
at AvalonStudio.Shell.Controls.MetroWindow..ctor() in /home/mwalk/tmp/AvalonStudio/AvalonStudio.Shell/src/AvalonStudio.Shell/Controls/MetroWindow.cs:line 63
at AvalonStudio.MainWindow..ctor() in /home/mwalk/tmp/AvalonStudio/AvalonStudio/AvalonStudio/MainWindow.xaml.cs:line 15
at AvalonStudio.App.OnFrameworkInitializationCompleted() in /home/mwalk/tmp/AvalonStudio/AvalonStudio/AvalonStudio/App.paml.cs:line 18
at Avalonia.Controls.AppBuilderBase
1.Setup() at Avalonia.Controls.AppBuilderBase
1.SetupWithLifetime(IApplicationLifetime lifetime)at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime[T](T builder, String[] args, ShutdownMode shutdownMode)
at AvalonStudio.Shell.Shell.StartShellApp[TAppBuilder](TAppBuilder builder, String appName, ShellAppMainDelegate main, String[] args, IFactory layoutFactory) in /home/mwalk/tmp/AvalonStudio/AvalonStudio.Shell/src/AvalonStudio.Shell/Shell.cs:line 17
at AvalonStudio.Program.Main(String[] args) in /home/mwalk/tmp/AvalonStudio/AvalonStudio/AvalonStudio/Program.cs:line 32
Aborted (core dumped)
Project was build normally and I attempted to run it
Fresh Archlinux install with i3
The text was updated successfully, but these errors were encountered: