[poppler] poppler/PSOutputDev.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Thu Jun 4 11:29:48 PDT 2009


 poppler/PSOutputDev.cc |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 7e01e37a834bfdd75d739ea2b48e9127ca7f259e
Author: Till Kamppeter <till.kamppeter at gmail.com>
Date:   Thu Jun 4 20:25:55 2009 +0200

    Add part of fix for bug 20420, the other part was checked in with Thomas patches

diff --git a/poppler/PSOutputDev.cc b/poppler/PSOutputDev.cc
index b0084af..d65d03f 100644
--- a/poppler/PSOutputDev.cc
+++ b/poppler/PSOutputDev.cc
@@ -2711,6 +2711,9 @@ void PSOutputDev::setupImage(Ref id, Stream *str) {
 	}
 	++col;
       }
+      if (c == (useASCIIHex ? '>' : '~') || c == EOF) {
+	break;
+      }
     }
     if (col > 225) {
       ++size;


More information about the poppler mailing list