]> git.pld-linux.org Git - packages/gd.git/blobdiff - gd-2.0.33-BoxBound.patch
- updated to 2.1.0 (note: new soname)
[packages/gd.git] / gd-2.0.33-BoxBound.patch
index c5daf3697af599aee5c82dc1543f38c796180b77..7fd001d4b93a7461aeb7a26b719ee01d38e7a348 100644 (file)
@@ -1,22 +1,12 @@
---- gd-2.0.33/gdft.c.pom       2004-11-02 22:00:48.000000000 +0100
-+++ gd-2.0.33/gdft.c   2006-11-21 09:25:49.000000000 +0100
-@@ -1237,7 +1237,8 @@
-         glyph_min.x = penf.x + slot->metrics.horiBearingX;
-         glyph_min.y = penf.y - slot->metrics.horiBearingY;
+--- libgd-2.1.0/src/gdft.c.orig        2013-07-03 21:36:41.222081534 +0200
++++ libgd-2.1.0/src/gdft.c     2013-07-04 15:58:51.062639663 +0200
+@@ -1217,7 +1217,8 @@
+                       glyph_min.x = penf.x + slot->metrics.horiBearingX;
+                       glyph_min.y = penf.y - slot->metrics.horiBearingY;
  
 -#if 0
-+// #if 0 - this version of glyph_max.x setting fixes problem with 
-+//            too large bouonding box
-         if (ch == ' ')        /* special case for trailing space */
-             {
-               glyph_max.x = penf.x + horiAdvance;
-@@ -1246,7 +1247,8 @@
-             {
-             glyph_max.x = glyph_min.x + slot->metrics.width;
-             }
--#else
-+//#else
-+#if 0
-           glyph_max.x = penf.x + horiAdvance;
- #endif
-         glyph_max.y = glyph_min.y + slot->metrics.height;
++#if 1
++/* this version of glyph_max.x setting fixes problem with too large bounding box */
+                       if (ch == ' ') {      /* special case for trailing space */
+                               glyph_max.x = penf.x + horiAdvance;
+                       } else {
This page took 0.036416 seconds and 4 git commands to generate.