As far as I understand the code, OpenRA normally takes TTF fonts and converts a certain range of glyphs into Sprites using FreeType, which are then used in the DrawText*(..) and Measure(..) methods.
Fonts already in bitmap form don't need the FreeType render step, so I was wondering what the 'correct' approach here would be to support non-freetype-needing SpriteFonts? One approach could be an interface between users of SpriteFont and actual SpriteFont implementations, another could be taking the initialization code out of SpriteFont and make it purely a glyph container with added DrawText etc methods.
Any ideas?
SpriteFont and non-'freetype based' fonts
How to fit bitmap fonts in there?