[poppler] Branch 'poppler-0.20' - poppler/PSOutputDev.cc
Albert Astals Cid
aacid at kemper.freedesktop.org
Wed Aug 1 15:23:02 PDT 2012
poppler/PSOutputDev.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 768cf5877f48f8cee80fe96e2ee52f42f230dfdf
Author: Thomas Freitag <Thomas.Freitag at alfa.de>
Date: Thu Aug 2 00:22:19 2012 +0200
PSOutputDev: Fix Bitmaps in level2sep or level3sep
Bug #52384
diff --git a/poppler/PSOutputDev.cc b/poppler/PSOutputDev.cc
index e15c2e9..f414897 100644
--- a/poppler/PSOutputDev.cc
+++ b/poppler/PSOutputDev.cc
@@ -5839,7 +5839,7 @@ void PSOutputDev::doImageL2(Object *ref, GfxImageColorMap *colorMap,
}
#endif
if ((level == psLevel2Sep || level == psLevel3Sep) && colorMap &&
- colorMap->getColorSpace()->getMode() == csSeparation) {
+ colorMap->getColorSpace()->getMode() == csSeparation && colorMap->getBits() == 8) {
color.c[0] = gfxColorComp1;
sepCS = (GfxSeparationColorSpace *)colorMap->getColorSpace();
sepCS->getCMYK(&color, &cmyk);
@@ -6198,7 +6198,7 @@ void PSOutputDev::doImageL3(Object *ref, GfxImageColorMap *colorMap,
} else {
if ((level == psLevel2Sep || level == psLevel3Sep) && colorMap &&
- colorMap->getColorSpace()->getMode() == csSeparation) {
+ colorMap->getColorSpace()->getMode() == csSeparation && colorMap->getBits() == 8) {
color.c[0] = gfxColorComp1;
sepCS = (GfxSeparationColorSpace *)colorMap->getColorSpace();
sepCS->getCMYK(&color, &cmyk);
More information about the poppler
mailing list