From b5b7b21e1511b70f07ac93b6f87d2a835e99164d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 21 Apr 2013 10:14:58 +0200 Subject: gd: import from rawhide --- gd-2.0.33-BoxBound.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 gd-2.0.33-BoxBound.patch (limited to 'gd-2.0.33-BoxBound.patch') diff --git a/gd-2.0.33-BoxBound.patch b/gd-2.0.33-BoxBound.patch new file mode 100644 index 0000000..c5daf36 --- /dev/null +++ b/gd-2.0.33-BoxBound.patch @@ -0,0 +1,22 @@ +--- 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; + +-#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; -- cgit