[poppler] poppler/SplashOutputDev.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Fri Mar 6 06:20:33 PST 2015


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

New commits:
commit 3705fcee0309c50b5fecd563e8e466cbe2c5972b
Author: Thomas Freitag <Thomas.Freitag at alfa.de>
Date:   Fri Mar 6 15:19:58 2015 +0100

    Fix  Wrong colour shown when GouraudTriangleShFill uses a DeviceN colorspace
    
    Bug #89182

diff --git a/poppler/SplashOutputDev.cc b/poppler/SplashOutputDev.cc
index 6640ab5..2e2ec33 100644
--- a/poppler/SplashOutputDev.cc
+++ b/poppler/SplashOutputDev.cc
@@ -4364,7 +4364,7 @@ GBool SplashOutputDev::gouraudTriangleShadedFill(GfxState *state, GfxGouraudTria
 #if SPLASH_CMYK
     case splashModeCMYK8:
     case splashModeDeviceN8:
-      bDirectColorTranslation = (shadingMode == csDeviceCMYK || shadingMode == csDeviceN);
+      bDirectColorTranslation = (shadingMode == csDeviceCMYK);
     break;
 #endif
     default:


More information about the poppler mailing list