修复Could not create glyphTypeface的漏洞

This commit is contained in:
SharwOrange橙夜 2024-03-05 23:03:53 +08:00
parent 7659a8e498
commit ae5783d012

View File

@ -6,7 +6,7 @@ public static class AppBuilderExtension
{
public static AppBuilder WithFont_LXGWWenKai(this AppBuilder appBuilder)
{
var uri = "avares://wheel_mcl/Assets/Fonts/LXGWWenKai.ttf#LXGW WenKai";
var uri = "avares://toast_mcl/Assets/Fonts/LXGWWenKai.ttf#LXGW WenKai";
return appBuilder.With(new FontManagerOptions()
{
DefaultFamilyName = uri,