]> git.pld-linux.org Git - packages/gd.git/blob - gd-2.0.33-BoxBound.patch
- release 6 (libavif 0.11.x)
[packages/gd.git] / gd-2.0.33-BoxBound.patch
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;
6  
7 -#if 0
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.122791 seconds and 3 git commands to generate.