decent rather than the maximum for the characters in the string
- use the glyph bbox to calculate the glyph bitmaps for rendering
with FT1 rather than the global ascender/descender. This helps
with fonts that have broken metrics.
+ - fix calculation of descender for FT2, it was calculating the
+ minimum decent rather than the maximum for the characters in
+ the string
=================================================================
if (glyph_ascent > ascent)
ascent = glyph_ascent;
- if (glyph_descent > descent)
+ if (glyph_descent < descent)
descent = glyph_descent;
width += gm->horiAdvance / 64;