openframeworks/openFrameworks — pull request #3003 by nneonneo (2014-06-01 00:25:05+00:00)
Title: Minor improvements to ofTrueTypeFont font metrics

These small patches add correct line-height detection, as well as support for retrieving the ascender, descender and glyph bounding box information from FreeType.

I've tested these with a range of fonts on my computer and have gotten useful results.

The addition of ascender/descender information makes it possible to position fonts correctly within a box.