Over a million developers have joined DZone.

Creating Custom Fonts (With Outline) For WP7 and XNA

DZone's Guide to

Creating Custom Fonts (With Outline) For WP7 and XNA

· Mobile Zone ·
Free Resource

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

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}