diff options
Diffstat (limited to 'print/xpdf/patches/patch-ab')
-rw-r--r-- | print/xpdf/patches/patch-ab | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/print/xpdf/patches/patch-ab b/print/xpdf/patches/patch-ab deleted file mode 100644 index 52f448a26d5..00000000000 --- a/print/xpdf/patches/patch-ab +++ /dev/null @@ -1,19 +0,0 @@ -$NetBSD: patch-ab,v 1.1 2002/03/23 14:08:12 simonb Exp $ - ---- xpdf/TextOutputDev.cc.orig Sat Feb 2 10:15:45 2002 -+++ xpdf/TextOutputDev.cc -@@ -154,8 +154,12 @@ - dx -= dx2; - dy -= dy2; - state->transformDelta(dx, dy, &w1, &h1); -- w1 /= uLen; -- h1 /= uLen; -+ if (uLen == 0) { -+ w1 = h1 = 0.; -+ } else { -+ w1 /= uLen; -+ h1 /= uLen; -+ } - for (i = 0; i < uLen; ++i) { - curStr->addChar(state, x1 + i*w1, y1 + i*h1, w1, h1, u[i]); - } |