[poppler] poppler/PSOutputDev.cc
Albert Astals Cid
aacid at kemper.freedesktop.org
Sat Feb 25 07:33:45 PST 2012
poppler/PSOutputDev.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 2a5f1594a23cf521497f904b502fbadf56a9e780
Author: William Bader <williambader at hotmail.com>
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 <Thomas.Freitag at alfa.de>
// Copyright (C) 2009 Till Kamppeter <till.kamppeter at gmail.com>
// Copyright (C) 2009 Carlos Garcia Campos <carlosgc at gnome.org>
-// Copyright (C) 2009, 2011 William Bader <williambader at hotmail.com>
+// Copyright (C) 2009, 2011, 2012 William Bader <williambader at hotmail.com>
// Copyright (C) 2009 Kovid Goyal <kovid at kovidgoyal.net>
// Copyright (C) 2009-2011 Adrian Johnson <ajohnson at redneon.com>
//
@@ -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,
More information about the poppler
mailing list