字体“宋体”不支持风格的“常规” [英] Font 'Times New Roman' does not support style 'Regular'

查看:559
本文介绍了字体“宋体”不支持风格的“常规”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这其中的任何人听见了吗? System.ArgumentException:字体宋体不支持风格的常规

Anybody hear of this one? System.ArgumentException: Font 'Times New Roman' does not support style 'Regular'.

我有一个WinForms应用程序,通过的ClickOnce部署。出于某种原因,许多用户收到此错误。我可以看到得到这个错误,因为选择一个非标准的字体,但宋体,正常吗?是否有一个服务包或东西,人们需要什么?

I've got a WinForms app that is deployed via ClickOnce. For some reason a number of users are getting this error. I can see getting this error because of picking a non-standard font, but Times New Roman, Regular? Is there a service pack or something that people need?

我希望从任何人已经想出了一个解决这个问题的来信。

I would love to hear from anybody that has figured out a solution to this problem.

推荐答案

一个解决方案,似乎工作就是将字体移动文件到另一个目录,然后重新安装(如在的 http://www.binaryfortress.com/Forum/index.php?topic=691.0

One solution that seems to work is moving the font file to another directory, then reinstalling it (as explained further in http://www.binaryfortress.com/Forum/index.php?topic=691.0)

这篇关于字体“宋体”不支持风格的“常规”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆