mirror of https://github.com/2dust/v2rayN
Update OptionSettingWindow.xaml.cs
parent
0ebf8c9349
commit
dfb6cef364
|
@ -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 New Issue