Question: What are all the possible font names that you can use for a SpriteFont?
Answer: Microsoft has allowed almost all the font families to be used for a SpriteFont. If you are having problems though, take not that there are some standards that need to be used in order to have XNA recognize the font family name.
- You need to allow spaces which may seem odd but is needed (i.e. the font family Times New Roman would still be entered in as “Times New Roman” and not “TimesNewRoman”).
- Also, obviously you need to spell the name correctly. No little mistakes as every letter matters. Also, there is no abbreviating.
- The Algerian font family is not accepted.
No comments:
Post a Comment