--- poppler-0.10.7/utils/pdftops.cc- 2009-05-02 14:14:56.000000000 +0200 +++ poppler-0.10.7/utils/pdftops.cc 2009-06-01 22:51:38.000000000 +0200 @@ -223,6 +223,14 @@ fprintf(stderr, "Error: forms are only available with Level 2 output.\n"); exit(1); } +#if SPLASH_CMYK +#else + /* 01Jun09 wb warn for options not enabled by the build */ + if (level == psLevel1Sep) { + fprintf(stderr, "Warning: pdftops was built without --enable-cmyk; level1sep might not work.\n"); + } +#endif + mode = doEPS ? psModeEPS : doForm ? psModeForm : psModePS; --- poppler-0.10.7/poppler/SplashOutputDev.cc- 2009-05-02 14:14:57.000000000 +0200 +++ poppler-0.10.7/poppler/SplashOutputDev.cc 2009-06-01 22:22:17.000000000 +0200 @@ -2722,7 +2722,8 @@ break; #if SPLASH_CMYK case splashModeCMYK8: - lum = (1 - color[4] / 255.0) + /* 01Jun09 wb change color[4] to color[3] */ + lum = (1 - color[3] / 255.0) - (0.3 / 255.0) * color[0] - (0.59 / 255.0) * color[1] - (0.11 / 255.0) * color[2];