[poppler] poppler/TextOutputDev.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Sat Dec 1 11:03:39 PST 2012


 poppler/TextOutputDev.cc |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit f673be852e6564e039b5ec24e5bf583149b1d5a4
Author: Jason Crain <jason at aquaticape.us>
Date:   Sat Dec 1 20:03:00 2012 +0100

    Allow large chars in TextPage

diff --git a/poppler/TextOutputDev.cc b/poppler/TextOutputDev.cc
index 2be0b42..1706394 100644
--- a/poppler/TextOutputDev.cc
+++ b/poppler/TextOutputDev.cc
@@ -2280,7 +2280,6 @@ void TextPage::addChar(GfxState *state, double x, double y,
   state->transform(x, y, &x1, &y1);
   if (x1 + w1 < 0 || x1 > pageWidth ||
       y1 + h1 < 0 || y1 > pageHeight ||
-      w1 > pageWidth || h1 > pageHeight ||
       x1 != x1 || y1 != y1 || // IEEE way of checking for isnan
       w1 != w1 || h1 != h1) {
     charPos += nBytes;


More information about the poppler mailing list