Built-in font for Desktop

https://github.com/2dust/v2rayN/issues/5970
This commit is contained in:
2dust
2024-11-06 14:52:54 +08:00
parent 28620b385a
commit 689a81a985
3 changed files with 22 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
using Avalonia;
using Avalonia.ReactiveUI;
using v2rayN.Desktop.Common;
namespace v2rayN.Desktop;
@@ -48,7 +49,8 @@ internal class Program
public static AppBuilder BuildAvaloniaApp()
=> AppBuilder.Configure<App>()
.UsePlatformDetect()
.WithInterFont()
//.WithInterFont()
.WithFontByDefault()
.LogToTrace()
.UseReactiveUI();
}