WPF: How to filter out non-Roman fonts from Fonts.SystemFontFamilies?

后端 未结 3 1120
逝去的感伤
逝去的感伤 2021-01-12 05:29

I know how to create a WPF font picker with a few lines of XAML, binding to Fonts.SystemFontFamilies (thanks to Norris Cheng\'s excellent blog post), but I can\

3条回答
  •  伪装坚强ぢ
    2021-01-12 05:41

    I don't think that you are ever going to find that type of information without providing it yourself. Font specifications themselves don't provide this information, so I guess this means you are out of luck. Your best bet is to determine a list of fonts that you deem 'acceptable' for your end users.

提交回复
热议问题