安装xna后如何使用字体
我下载了一个教程,其中包含源代码中的字体。 当我尝试构建项目时,我总是收到以下错误消息:
错误 1 字体系列“Joystick” 找不到。 请确保 请求的字体已安装,并且是 TrueType 或 OpenType 字体。
该字体是通过控制面板添加的,并且是 TrueType 字体。
I've downloaded a tutorial that had fonts included in the source. When I try to build the project, I always get the following error message:
Error 1 The font family "Joystick"
could not be found. Please ensure the
requested font is installed, and is a
TrueType or OpenType font.
The font was added via the control panel, and is a TrueType font.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您在 Windows\Fonts 目录中看到该字体吗? 如果安装了字体,它应该在那里。 您是否尝试过在Word或其他程序中使用该字体来查看它是否真的安装了?
您可以联系源代码来的人并向他询问问题,或者您可以尝试使用他的源代码并仅更改字体。
Do you see the Font in the Windows\Fonts directory? If the font is installed, it should be there. Have you try to use this font in Word or other program to see if it's really installed?
You might contact the person who is the source code is coming and ask him the question, or you could try to use his source code and just change the font.
只需重新启动编辑器一次即可。 有用。 因为编辑器只在开始时加载字体。
Just Restart your editor once. It works. Because the editor loads the fonts only in the beginning.