summaryrefslogtreecommitdiff
path: root/cups
diff options
context:
space:
mode:
authorMichael Vrhel <michael.vrhel@artifex.com>2019-11-22 10:43:43 -0800
committerMichael Vrhel <michael.vrhel@artifex.com>2019-11-22 10:44:28 -0800
commit8f611a6c45fafbea495206773eccf3028cfb4765 (patch)
tree99b6e1b42475df1399545d93f3adcea0381b17d9 /cups
parentf734274b455c321a4089d8ee7efa7511656ae9c6 (diff)
downloadghostpdl-8f611a6c45fafbea495206773eccf3028cfb4765.tar.gz
Bug 701625 Treat CMY color space as additive
Our support of CMY devices is currently not ideal with respect to proper color management and the transparency imaging model as described in Bug 697965. My plan is to make a psd cmy based device and get things working properly in terms of spot colors and ICC color management. This will take a bit of effort and likely have a bug tail. For now for Bug 701625 an easy solution is to treat the color space as additive. In this case, the output looks reasonable.
Diffstat (limited to 'cups')
-rw-r--r--cups/gdevcups.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cups/gdevcups.c b/cups/gdevcups.c
index 390a613f0..8fa48860f 100644
--- a/cups/gdevcups.c
+++ b/cups/gdevcups.c
@@ -4443,6 +4443,8 @@ cups_set_color_info(gx_device *pdev) /* I - Device info */
case CUPS_CSPACE_SW :
case CUPS_CSPACE_WHITE :
case CUPS_CSPACE_RGB :
+ case CUPS_CSPACE_CMY:
+ case CUPS_CSPACE_YMC:
case CUPS_CSPACE_SRGB :
case CUPS_CSPACE_ADOBERGB :
case CUPS_CSPACE_RGBA :
@@ -4471,8 +4473,6 @@ cups_set_color_info(gx_device *pdev) /* I - Device info */
case CUPS_CSPACE_K :
case CUPS_CSPACE_GOLD :
case CUPS_CSPACE_SILVER :
- case CUPS_CSPACE_CMY :
- case CUPS_CSPACE_YMC :
case CUPS_CSPACE_KCMYcm :
case CUPS_CSPACE_CMYK :
case CUPS_CSPACE_YMCK :