--- poppler-git-01may12-cmy/splash/Splash.cc- 2012-05-01 16:59:13.223036489 +0200 +++ poppler-git-01may12-cmy/splash/Splash.cc 2012-05-01 17:34:54.741103202 +0200 @@ -400,17 +400,17 @@ if (state->overprintMask & 2) { pipe->destColorPtr[1] = (state->overprintAdditive) ? std::min(pipe->destColorPtr[1] + state->cmykTransferM[pipe->cSrc[1]], 255) : - state->cmykTransferC[pipe->cSrc[1]]; + state->cmykTransferM[pipe->cSrc[1]]; } if (state->overprintMask & 4) { pipe->destColorPtr[2] = (state->overprintAdditive) ? std::min(pipe->destColorPtr[2] + state->cmykTransferY[pipe->cSrc[2]], 255) : - state->cmykTransferC[pipe->cSrc[2]]; + state->cmykTransferY[pipe->cSrc[2]]; } if (state->overprintMask & 8) { pipe->destColorPtr[3] = (state->overprintAdditive) ? std::min(pipe->destColorPtr[3] + state->cmykTransferK[pipe->cSrc[3]], 255) : - state->cmykTransferC[pipe->cSrc[3]]; + state->cmykTransferK[pipe->cSrc[3]]; } pipe->destColorPtr += 4; break; @@ -848,17 +848,17 @@ if (state->overprintMask & 2) { pipe->destColorPtr[1] = (state->overprintAdditive) ? std::min(pipe->destColorPtr[1] + state->cmykTransferM[pipe->cSrc[1]], 255) : - state->cmykTransferC[pipe->cSrc[1]]; + state->cmykTransferM[pipe->cSrc[1]]; } if (state->overprintMask & 4) { pipe->destColorPtr[2] = (state->overprintAdditive) ? std::min(pipe->destColorPtr[2] + state->cmykTransferY[pipe->cSrc[2]], 255) : - state->cmykTransferC[pipe->cSrc[2]]; + state->cmykTransferY[pipe->cSrc[2]]; } if (state->overprintMask & 8) { pipe->destColorPtr[3] = (state->overprintAdditive) ? std::min(pipe->destColorPtr[3] + state->cmykTransferK[pipe->cSrc[3]], 255) : - state->cmykTransferC[pipe->cSrc[3]]; + state->cmykTransferK[pipe->cSrc[3]]; } pipe->destColorPtr += 4; *pipe->destAlphaPtr++ = 255;