Typography.Capitals 无法处理 Windows 7

Typography.Capitals not working on Windows 7

例如,在下面的标签中,我想使用 SmallCaps,但它们只出现在 Windows 8 及更高版本上。在 Windows 7 上,只有普通字母。

<Label x:Name="servername" Typography.Capitals="SmallCaps" Content="Server xy" VerticalAlignment="Bottom" FontSize="15" Margin="10,0,10,31" Padding="5,0"  FontWeight="Light" Height="19" HorizontalAlignment="Left" SizeChanged="servername_SizeChanged"/>

我正在使用 .NET Framework 4.5,字体是 Segoe UI Medium(在其他一些标签中 Segoe UI Light),它安装在两个系统上。

如您所知,Typography.Capitals 支持由 OpenType 字体系列本身提供:https://msdn.microsoft.com/en-us/library/system.windows.documents.typography.capitals(v=vs.110).aspx

OpenType supports a number of styling formats for capitals, including small capitals, petite capitals, titling, and capital spacing. These styling formats allow you to control the appearance of capitals.

为 Windows 8 添加了对 Segoe UI 的小型大写字母支持。Windows 7 版本的 Segoe UI 不支持小型大写字母.

https://littlenewthings.wordpress.com/2013/08/07/segoe-ui-gets-a-facelift-in-windows-8/

The new Segoe UI also adds support for OpenType stylistic sets and ligatures which increases variation across the standard character set. New features include small caps, old-style and tabular (monospaced) numerals. In fact, the old variations of the characters above are included in the alternative style set (style set #20, in fact).

我不确定打包更新版本的 Segoe UI 以用于您自己的 WPF 应用程序的可能性和合法性。