1 --- gd-2.0.33/gdft.c.pom 2004-11-02 22:00:48.000000000 +0100
2 +++ gd-2.0.33/gdft.c 2006-11-21 09:25:49.000000000 +0100
4 glyph_min.x = penf.x + slot->metrics.horiBearingX;
5 glyph_min.y = penf.y - slot->metrics.horiBearingY;
8 +// #if 0 - this version of glyph_max.x setting fixes problem with
9 +// too large bouonding box
10 if (ch == ' ') /* special case for trailing space */
12 glyph_max.x = penf.x + horiAdvance;
15 glyph_max.x = glyph_min.x + slot->metrics.width;
20 glyph_max.x = penf.x + horiAdvance;
22 glyph_max.y = glyph_min.y + slot->metrics.height;