mirror of
https://github.com/2dust/v2rayN.git
synced 2025-05-02 13:18:50 +00:00
Replace the font with Source Han Sans CN
This commit is contained in:
parent
84b91e9649
commit
8ba05cb4ed
4 changed files with 4 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue