Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/278.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 排版。大写字母不能在Windows7上使用_C#_Wpf_Typography_Smallcaps - Fatal编程技术网

C# 排版。大写字母不能在Windows7上使用

C# 排版。大写字母不能在Windows7上使用,c#,wpf,typography,smallcaps,C#,Wpf,Typography,Smallcaps,例如,在下面的标签中,我想使用小大写字母,但它们仅在Windows 8及更高版本上显示。在Windows7上,只有普通字母 <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"

例如,在下面的标签中,我想使用小大写字母,但它们仅在Windows 8及更高版本上显示。在Windows7上,只有普通字母

<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"/>

我使用的是.NETFramework4.5,字体是SegoeUIMedium(在其他一些标签中是SegoeUILight),它安装在两个系统上


您可能知道,
排版。大写字母
支持由OpenType字体系列本身提供:

OpenType支持多种大写样式格式,包括小大写、小大写、标题和大写间距。这些样式格式允许您控制大写字母的外观

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

新的Segoe UI还增加了对OpenType样式集和连字的支持,从而增加了标准字符集的变化新功能包括小写、旧式和表格式(等距)数字。事实上,上述字符的旧变体包含在替代样式集中(实际上是样式集#20)


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

哦,我不知道,Windows 8中实现了新版本的Segoe UI。非常感谢。我也不知道!我猜字体作为软件也会不断地被修改