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

New commits:
commit 8d935569a977675afac35cf1bd5f2611b6a771b6
Author: Albert Astals Cid <[email protected]>
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
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to