What's the simplest way to load TTF fonts?

I’m looking to load a custom TTF font, rather than use the default SpriteFont as specified in Content.mgcb.

Is there a way to do this with MonoGame directly, or do I have to write a Font atlas and generate the textures myself?

1 Like

You can use custom TTFs with SpriteFont. Drop the TTF into the same folder as the .spritefont file. Open the .spritefont file in a text editor and edit the font name to be the filename (including “.ttf”) of the TTF.

7 Likes

http://www.monogame.net/documentation/?page=Using_TrueType_Fonts

1 Like