[gs-commits] ghostpdl branch, master, updated. jbig2dec-0.14-1956-g8f611a6
[email protected] (Michael Vrhel) Fri, 22 Nov 2019 18:44:40 +0000 (UTC)
| Newsgroups | gmane.comp.printing.ghostscript.cvs |
|---|---|
| Message-ID | <[email protected]> |
The ghostpdl branch, master has been updated
via 8f611a6c45fafbea495206773eccf3028cfb4765 (commit)
from f734274b455c321a4089d8ee7efa7511656ae9c6 (commit)
----------------------------------------------------------------------
commit 8f611a6c45fafbea495206773eccf3028cfb4765
Author: Michael Vrhel <[email protected]>
Date: Fri Nov 22 10:43:43 2019 -0800
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.
diff --git a/cups/gdevcups.c b/cups/gdevcups.c
index 390a613..8fa4886 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 :
Summary of changes:
cups/gdevcups.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)