1 --- libgd-2.1.0/src/gdft.c.orig 2013-07-03 21:36:41.222081534 +0200
2 +++ libgd-2.1.0/src/gdft.c 2013-07-04 15:58:51.062639663 +0200
4 glyph_min.x = penf.x + slot->metrics.horiBearingX;
5 glyph_min.y = penf.y - slot->metrics.horiBearingY;
9 +/* this version of glyph_max.x setting fixes problem with too large bounding box */
10 if (ch == ' ') { /* special case for trailing space */
11 glyph_max.x = penf.x + horiAdvance;