修复Could not create glyphTypeface的漏洞
This commit is contained in:
parent
7659a8e498
commit
ae5783d012
|
@ -6,7 +6,7 @@ public static class AppBuilderExtension
|
||||||
{
|
{
|
||||||
public static AppBuilder WithFont_LXGWWenKai(this AppBuilder appBuilder)
|
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()
|
return appBuilder.With(new FontManagerOptions()
|
||||||
{
|
{
|
||||||
DefaultFamilyName = uri,
|
DefaultFamilyName = uri,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user