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


i know how create wpf font picker few lines of xaml, binding fonts.systemfontfamilies (thanks norris cheng's excellent blog post), can't figure out how filter out international , other non-roman-alphabet font families. users aren't need "mongolian baiti", "microsoft uighur", or "webdings", , when in list makes harder them find fonts do want.

are there properties on objects reachable systemfontfamilies can use separate non-symbol roman-alphabet font families rest?

edit: information use available in windows 7 fonts control panel, in "designed for" field. strings in field contain "latin" fonts useful latin-alphabet applications, other language names "international" fonts ('mongolian baiti' 'mongolian', example), , "symbol" fonts wingdings. "category" field looks useful separating 'display' fonts 'text' fonts. unfortunately, can't figure out way information code, , can't figure out in opentype spec. guess opentype script tags or language tags involved.

i don't think ever going find type of information without providing yourself. font specifications don't provide information, guess means out of luck. best bet determine list of fonts deem 'acceptable' end users.


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

sql server - python to mssql encoding problem -

windows - Python Service Installation - "Could not find PythonClass entry" -