poppler/PSOutputDev.cc |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 2a5f1594a23cf521497f904b502fbadf56a9e780
Author: William Bader <[email protected]>
Date:   Sat Feb 25 16:32:33 2012 +0100

    Fix PSOutputDev regression with -level1

diff --git a/poppler/PSOutputDev.cc b/poppler/PSOutputDev.cc
index 4b3ecd6..0c48b5a 100644
--- a/poppler/PSOutputDev.cc
+++ b/poppler/PSOutputDev.cc
@@ -23,7 +23,7 @@
 // Copyright (C) 2009-2012 Thomas Freitag <[email protected]>
 // Copyright (C) 2009 Till Kamppeter <[email protected]>
 // Copyright (C) 2009 Carlos Garcia Campos <[email protected]>
-// Copyright (C) 2009, 2011 William Bader <[email protected]>
+// Copyright (C) 2009, 2011, 2012 William Bader <[email protected]>
 // Copyright (C) 2009 Kovid Goyal <[email protected]>
 // Copyright (C) 2009-2011 Adrian Johnson <[email protected]>
 //
@@ -3104,7 +3104,7 @@ GBool PSOutputDev::checkPageSlice(Page *page, double 
/*hDPI*/, double /*vDPI*/,
   delete state;
 
   // set up the SplashOutputDev
-  if (mono) {
+  if (mono || level == psLevel1) {
     paperColor[0] = 0xff;
     splashOut = new SplashOutputDev(splashModeMono8, 1, gFalse,
                                    paperColor, gFalse,
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to