WPF应用程序不拾起Segoe UI Symbol字体 [英] WPF application not picking up Segoe UI Symbol font
问题描述
我有一个WPF应用程序,运行在64位Windows 7上,其中我使用的是Segoe UI Symbol字体。它在我的盒子上工作得很好,但字体没有显示在类似的开发盒(64位Windows 7)上。
我验证了问题框有这个字体安装它。
任何人都可以友好地指导我这可能是什么原因导致的?
谢谢,
RDV
通过ClickOnce或Windows MSI安装程序来解决这个问题)来安装给定字体的新版本。
有两种解决方案:
-
通过注册表删除较旧的字体版本,然后手动或通过msi安装程序安装较新的版本。有关通过注册表删除字体的更多信息可以在这里找到: http:优点:所有可以通过脚本/安装程序完成。
$ b缺点:与注册表项混淆。
另一个选项是提供完整的权限当前登录的用户(注意 - 登录的用户可能不是管理员)上的字体,然后删除字体。安装较新的Font版本 - 手动或通过安装程序。有关提供特权的更多信息,请访问: http:// www .sevenforums.com / general-discussion / 39842-protected-system-fonts.html
$ b 优点:手动处理的更清晰的方式。
$ b $缺点:不知道如何通过脚本/安装程序提供特权。
感谢,
RDV
I have a WPF application, running on 64-bit Windows 7, wherein I am using Segoe UI Symbol font. It works perfectly fine on my box, but the font doesn't show up on a similar dev box (64-bit Windows 7).
I verified, the problem box has this font installed on it.
Could anyone kindly guide me what could be the cause of this behaviour?
Thanks,
RDV
I found another legal :-) way - (just have to figure out doing it via ClickOnce or Windows MSI installer) to install a newer version of a given font.
There are two solutions:
Delete the older font version via registry and then install the newer version- manually or via msi installer. More information on deleting the font via registry can be found here: http://www.wikihow.com/Delete-Protected-System-Fonts-in-Windows-7
Pros: All can be done via scripts/installer.
Cons: Messing with Registry keys.
Another option is to provide full privilege to the currently logged in user (pay attention- logged in user may not be the administrator on the box) on the said font and then delete the font. Install the newer Font version - manually or via installer. More information on providing privilege can be found here: http://www.sevenforums.com/general-discussion/39842-protected-system-fonts.html
Pros: Cleaner way for doing things manually.
Cons: Do not know how to provide privilege via script/installer.
Thanks,
RDV
这篇关于WPF应用程序不拾起Segoe UI Symbol字体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!