[poppler] poppler/PSOutputDev.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Mon Mar 5 13:35:36 PST 2012


 poppler/PSOutputDev.cc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8d935569a977675afac35cf1bd5f2611b6a771b6
Author: Albert Astals Cid <aacid at kde.org>
Date:   Mon Mar 5 21:59:09 2012 +0100

    Fix regression in some PSOutputDev array sizing

diff --git a/poppler/PSOutputDev.cc b/poppler/PSOutputDev.cc
index 5187900..f30f53e 100644
--- a/poppler/PSOutputDev.cc
+++ b/poppler/PSOutputDev.cc
@@ -2840,7 +2840,7 @@ void PSOutputDev::setupImage(Ref id, Stream *str, GBool mask) {
   outerSize = size/65535 + 1;
 
   writePSFmt("{0:d} array dup /{1:s}Data_{2:d}_{3:d} exch def\n",
-	     size, mask ? "Mask" : "Im", id.num, id.gen);
+	     outerSize, mask ? "Mask" : "Im", id.num, id.gen);
   str->close();
 
   // write the data into the array


More information about the poppler mailing list