mono/MonoGame — pull request #277 by kungfubanana (2012-02-06 03:12:57+00:00)
Title: Improves SpriteFont to conform more closely to XNA

Makes the core SpriteFont class platform-neutral and removes platform-specific implementations of SpriteFont.

### SpriteFont
- Reimplemented to measure text and draw it more closely to XNA's
implementation. There may still be subtleties to work out.

### SpriteBatch (all platforms)
- Updated to use SpriteFont.DrawInto rather than duplicating
string-drawing functionality across the classes.

### Texture2D (Windows and Linux)
- Quick-and-dirty implementation of GetData\ so visual tests can be
performed.

### WindowsGameWindow
- Game.DoUpdate and Game.DoDraw are now both called from OnRenderFrame
to improve compatibility with the visual tests. Eventually this
should be reworked when Game.Tick is implemented.