From 19f1518782bcba00103550804e7de2191b8666ba Mon Sep 17 00:00:00 2001 From: Jason Crain Date: Fri, 23 Nov 2012 23:09:42 -0600 Subject: [PATCH 1/2] Allow large chars in TextPage --- poppler/TextOutputDev.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/poppler/TextOutputDev.cc b/poppler/TextOutputDev.cc index 8c8fed7..bc1eb6d 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; -- 1.7.9.5