cocos2d/cocos2d-x — pull request #2271 by Weeds (2013-03-27 23:54:54+00:00)
Title: [Linux] fixed font rendering crash for certain fonts

face->size->metrics->ascender seems to be unreliable for some fonts,
additionally the freetype documentation says that it may be used
differently for different fonts.
Therefore it may happen that the ascender of a font face is less then
the glyphs bounding box resulting in accessing invalid memory.

The fix is to use the bbox attribute instead of the ascender