Font 'Times New Roman' does not support style 'Regular'

放肆的年华 提交于 2019-12-08 16:15:49

问题


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

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.


回答1:


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)




回答2:


The link in the answer at binary fortress no longer works. I had this issue with "Font 'Arial' does not support style 'Regular'" after uninstalling software. Managed to fix by reinstalling the font from the windows font folder: Hit Start->Run c:\windows\fonts\arial.ttf

This brings up a window which has an install option at the top. Hit install.

Thank you to http://writeyouare.wordpress.com/2010/09/25/windows-7-fix-fonts-bold-italics/




回答3:


Re-installing the font worked for me. It seems some reorganization of some network folders triggered the problem because I had installed the font from that location and the registry was still pointing to the old location.



来源:https://stackoverflow.com/questions/1245877/font-times-new-roman-does-not-support-style-regular

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!