]> git.pld-linux.org Git - packages/gd.git/blame - gd-2.0.33-BoxBound.patch
- added upstream patch (taken from Fedora): fixes tiff_invalid_read test failure
[packages/gd.git] / gd-2.0.33-BoxBound.patch
CommitLineData
331e1f00
JB
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
3@@ -1217,7 +1217,8 @@
4 glyph_min.x = penf.x + slot->metrics.horiBearingX;
5 glyph_min.y = penf.y - slot->metrics.horiBearingY;
0f4482da
AM
6
7-#if 0
331e1f00
JB
8+#if 1
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;
12 } else {
This page took 0.20438 seconds and 4 git commands to generate.