mirror of
https://github.com/2dust/v2rayN.git
synced 2025-07-01 04:22: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)
|
||||
{
|
||||
typeface.TryGetGlyphTypeface(out GlyphTypeface glyph);
|
||||
var fontFace = glyph.Win32FaceNames[new CultureInfo("en-us")];
|
||||
if (!fontFace.Equals("Regular") && !fontFace.Equals("Normal"))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
//var fontFace = glyph.Win32FaceNames[new CultureInfo("en-us")];
|
||||
//if (!fontFace.Equals("Regular") && !fontFace.Equals("Normal"))
|
||||
//{
|
||||
// continue;
|
||||
//}
|
||||
var fontFamily = glyph.Win32FamilyNames[new CultureInfo(culture)];
|
||||
if (Utils.IsNullOrEmpty(fontFamily))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue