pioneerspacesim/pioneer — pull request #1273 by robn (2012-05-27 10:53:59+00:00)
Title: Fix font metrics

They were broken. `TextureFont::MeasureString` would consistently return a box that couldn't actually fit the text vertically, but because text gets drawn without clipping and layout and spacing is done explicitly you never noticed. `new-ui` has stricter demands though, so text was always too big for its allocated box.

The end result for the standard UI is that lines are spaced closer together. I don't know how much it really matters. This doesn't have to be merged to `master` - I could maintain it as part of `new-ui`. It would be much nicer to have it in core early though.