wpf Segoe UI 符号 Windows 7

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/21527494/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-13 10:42:11  来源:igfitidea点击:

Segoe UI Symbol Windows 7

c#wpfxaml

提问by scottsanpedro

Had anyone been able to release wpf applications to Windows 7 users and use this font? I have looked all over the place and can't see a solution. I have downloaded the font family and placed as a resource in my project

有没有人能够向 Windows 7 用户发布 wpf 应用程序并使用这种字体?我找遍了整个地方,找不到解决方案。我已经下载了字体系列并作为资源放置在我的项目中

FontFamily="/Helpdesk;component/Fonts/seguisym.ttf#Segoe UI Symbol"

This works on my computer however taking off the Segoe UI Symbol in the above gives me a square box. Any help would be gratefully accepted. Scott

这在我的电脑上工作,但是去掉上面的 Segoe UI 符号会给我一个方框。任何帮助将不胜感激。斯科特

回答by AlSki

According to http://www.microsoft.com/typography/fonts/font.aspx?FMID=2027it's already part of Windows7.

根据http://www.microsoft.com/typography/fonts/font.aspx?FMID=2027它已经是 Windows7 的一部分。

Are you testing against a corporate or an otherwise modifed version of Windows7?

您是针对企业版还是其他修改版的 Windows7 进行测试?

回答by Teoman shipahi

it looks like there is an update for it;

看起来它有更新;

http://support.microsoft.com/kb/2729094

http://support.microsoft.com/kb/2729094

and also there is a similar question to yours in here;

并且这里也有与您类似的问题;

http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_update/segoe-fonts-appear-as-boxes-after-kb2729094/dbafb137-211e-425e-93f8-d3259d3cee92?auth=1

http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_update/segoe-fonts-appear-as-boxes-after-kb2729094/dbafb137-211e-425e-93f8-d3259d3cee92?auth=1

it say it may related to conflicted with updates and another software.

它说它可能与更新和其他软件冲突有关。

回答by Jakob Lithner

I had the same problem and finally found a way to use the newer version of "Segoe UI Symbol" even when older version is installed (i.e. on Windows 7). The idea is to create a copy of the font file with a different name. This approach works also in ClickOnce installation and requires no bootstrapping.

我遇到了同样的问题,最终找到了一种方法,即使安装了旧版本(即在 Windows 7 上)也可以使用新版本的“Segoe UI Symbol”。这个想法是创建一个具有不同名称的字体文件的副本。这种方法也适用于 ClickOnce 安装并且不需要引导。

It is posted on this link: Embedded Font in WPF not working

它发布在此链接上:WPF 中的嵌入式字体不起作用