質問

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