mono/MonoGame — pull request #491 by Quebe (2012-06-01 22:14:59+00:00)
Title: Added functionality to load SpriteFonts from bitmap fonts stored in PNG ...

...files.

Added functionality to the SpriteFontReader to be able to parse a PNG file that has a rendered bitmap font into a SpriteFont. This allows developers to use third-party utilities to convert a TTF font into a bitmap font file and load it through the Content manager. Currently, I just added PNG support as GetPixel/GetData throws an exception when using a BMP file.

Ultimately, it is just a cheap method of getting fonts into a game. The parsing algorithm is very basic. Please email any questions that you have.