Skip to content

Commit 4b46c1b

Browse files
committed
up 更换字体
1 parent 912e49d commit 4b46c1b

5 files changed

Lines changed: 5 additions & 3 deletions

File tree

src/ColorMC.Gui/ColorMCGui.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public static class ColorMCGui
7979
/// <summary>
8080
/// 默认字体
8181
/// </summary>
82-
public const string Font = "resm:ColorMC.Launcher.Resources.SourceHanSansSC-Regular.otf?assembly=ColorMC.Launcher#Source Han Sans SC";
82+
public const string Font = "resm:ColorMC.Launcher.Resources.HONORSansCN-Medium.ttf?assembly=ColorMC.Launcher#HONOR Sans CN Medium";
8383

8484
// Initialization code. Don't use any Avalonia, third-party APIs or any
8585
// SynchronizationContext-reliant code before AppMain is called: things aren't initialized

src/ColorMC.Launcher/ColorMC.Launcher.csproj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,13 @@
2424

2525
<ItemGroup>
2626
<None Remove=".gitignore" />
27-
<None Remove="Resources\SourceHanSansSC-Regular.otf" />
27+
<None Remove="Resources\HONORSansCN-Light.ttf" />
28+
<None Remove="Resources\HONORSansCN-Medium.ttf" />
2829
</ItemGroup>
2930

3031
<ItemGroup>
31-
<EmbeddedResource Include="Resources\SourceHanSansSC-Regular.otf" />
32+
<EmbeddedResource Include="Resources\HONORSansCN-Light.ttf" />
33+
<EmbeddedResource Include="Resources\HONORSansCN-Medium.ttf" />
3234
</ItemGroup>
3335

3436
<ItemGroup>
7.68 MB
Binary file not shown.
7.66 MB
Binary file not shown.
-15.8 MB
Binary file not shown.

0 commit comments

Comments
 (0)