]> git.pld-linux.org Git - packages/gd.git/blame - gd-2.0.33-BoxBound.patch
up to 2.1-rc1
[packages/gd.git] / gd-2.0.33-BoxBound.patch
CommitLineData
0f4482da
AM
1--- gd-2.0.33/gdft.c.pom 2004-11-02 22:00:48.000000000 +0100
2+++ gd-2.0.33/gdft.c 2006-11-21 09:25:49.000000000 +0100
3@@ -1237,7 +1237,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 0 - this version of glyph_max.x setting fixes problem with
9+// too large bouonding box
10 if (ch == ' ') /* special case for trailing space */
11 {
12 glyph_max.x = penf.x + horiAdvance;
13@@ -1246,7 +1247,8 @@
14 {
15 glyph_max.x = glyph_min.x + slot->metrics.width;
16 }
17-#else
18+//#else
19+#if 0
20 glyph_max.x = penf.x + horiAdvance;
21 #endif
22 glyph_max.y = glyph_min.y + slot->metrics.height;
This page took 0.081982 seconds and 4 git commands to generate.