0
\$\begingroup\$

I am using Spritefont in my game and I have downloaded a .ttf font and installed it on my machine. I am now using this font in my game.

My question is if this game is run on another machine will the .ttf font need to be installed on that machine to work?

| improve this question | | | | |
\$\endgroup\$
  • \$\begingroup\$ You can also use tools like SpriteFont2 to render it to a texture at a fixed size. Either way, be VERY careful regarding licensing restrictions on the font - just having access to the file doesn't mean anything. \$\endgroup\$ – htmlcoderexe May 8 at 8:34
1
\$\begingroup\$

When a font is located in the content folder, and you keep the content folder along with your game, then it shouldn't be much of a problem.

Spritefonts are treated similair like images, They both remain in the contents folder.

I've used a downloadable spritefont before and I could use it on different computers without any problems. I think it's a bit depending on how you're releasing your game. (I've used the release folder after building the game in the release configuration)

I think the best way is to try it out yourself, by putting the game and the content folder on someone else's PC. :)

| improve this answer | | | | |
\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.