mirror of
https://github.com/2dust/v2rayN.git
synced 2025-07-01 12:32:10 +00:00
Update OptionSettingWindow.xaml.cs
This commit is contained in:
parent
0ebf8c9349
commit
dfb6cef364
1 changed files with 5 additions and 5 deletions
|
@ -79,11 +79,11 @@ namespace v2rayN.Views
|
||||||
foreach (Typeface typeface in typefaces)
|
foreach (Typeface typeface in typefaces)
|
||||||
{
|
{
|
||||||
typeface.TryGetGlyphTypeface(out GlyphTypeface glyph);
|
typeface.TryGetGlyphTypeface(out GlyphTypeface glyph);
|
||||||
var fontFace = glyph.Win32FaceNames[new CultureInfo("en-us")];
|
//var fontFace = glyph.Win32FaceNames[new CultureInfo("en-us")];
|
||||||
if (!fontFace.Equals("Regular") && !fontFace.Equals("Normal"))
|
//if (!fontFace.Equals("Regular") && !fontFace.Equals("Normal"))
|
||||||
{
|
//{
|
||||||
continue;
|
// continue;
|
||||||
}
|
//}
|
||||||
var fontFamily = glyph.Win32FamilyNames[new CultureInfo(culture)];
|
var fontFamily = glyph.Win32FamilyNames[new CultureInfo(culture)];
|
||||||
if (Utils.IsNullOrEmpty(fontFamily))
|
if (Utils.IsNullOrEmpty(fontFamily))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue