Replace the font with Source Han Sans CN
This commit is contained in:
@@ -11,7 +11,7 @@ namespace v2rayN.Converters
|
||||
static MaterialDesignFonts()
|
||||
{
|
||||
var fontPath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, @"Resources\Fonts\");
|
||||
MyFont = new FontFamily(new Uri($"file:///{fontPath}"), "./#微软雅黑");
|
||||
MyFont = new FontFamily(new Uri($"file:///{fontPath}"), "./#Source Han Sans CN");
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
v2rayN/v2rayN/Resources/Fonts/SourceHanSansCN-Regular.ttf
Normal file
BIN
v2rayN/v2rayN/Resources/Fonts/SourceHanSansCN-Regular.ttf
Normal file
Binary file not shown.
Binary file not shown.
@@ -102,6 +102,9 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Update="Resources\Fonts\SourceHanSansCN-Regular.ttf">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="Resources\Fonts\微软雅黑-Regular.ttf">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
|
||||
Reference in New Issue
Block a user