Creating Custom Fonts (With Outline) For WP7 and XNA
Join the DZone community and get the full member experience.Join For Free
I found this little gem that can create fonts with outline for XNA games: Bitmap Font Maker Utility Plus. It is actually a variation of the Microsoft utility Bitmap Font Maker.
After you choose a font you want to use, set the size for the
outline. Note that the font preview does not reflect any changes here
and that the resulting font will be white.
The exported file will look something like the following image (depending on your font preference):
In Visual Studio make sure that you set content processor to Sprite Font Texture. I have also changed the extension to xnb since I have had trouble if bmp was left as the extension (but that might be me ).
Published at DZone with permission of Toni Petrina, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.