문제

So recently I installed a new font (.ttf) to my computer so that I can utilize it in my XNA game. It is the proper type of font, and I am spelling it correctly, but XNA cannot find it. Any ideas on what may be causing this?

This is the error: The font family "Bloody" could not be found. Please ensure the requested font is installed, and is a TrueType or OpenType font.

But this font is installed, spelt properly, and is a TrueType font.

도움이 되었습니까?

해결책

You need to restart visual studio in order for it to recognize the newly installed fonts.

Next, make sure you use the exact spelling of the font name, as it is shown under your installed fonts directory (typically C:\Windows\Fonts)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top