summaryrefslogtreecommitdiff
path: root/gs/psi/zdevice.c
diff options
context:
space:
mode:
authorMichael Vrhel <michael.vrhel@artifex.com>2011-07-27 10:41:14 -0700
committerMichael Vrhel <michael.vrhel@artifex.com>2011-07-27 10:42:09 -0700
commit9dca5a4f0eb97ccd33f2503b5e1106c4e1747c5e (patch)
tree7df12260b56b40f709bf82828da5ccb9cc5c954c /gs/psi/zdevice.c
parent927c37a3adec70858787de954cfc620801bf65e5 (diff)
Fix for Windows Display Device showing gray only
This returns the use of DeviceGrayToK=true/false to set if the user wants DeviceGray to map to K only for a CMYK device. Also, this fixes a problem where high level gray scale images were always going to composite an not K only. Bug 692204.
Diffstat (limited to 'gs/psi/zdevice.c')
-rw-r--r--gs/psi/zdevice.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gs/psi/zdevice.c b/gs/psi/zdevice.c
index f1b3c1458..c40e5c24c 100644
--- a/gs/psi/zdevice.c
+++ b/gs/psi/zdevice.c
@@ -405,9 +405,6 @@ zputdeviceparams(i_ctx_t *i_ctx_p)
old_width = dev->width;
old_height = dev->height;
code = gs_putdeviceparams(dev, (gs_param_list *) & list);
- /* The color model may have been changed */
- /* code2 = gsicc_init_device_profile_struct(dev, NULL, 0);
- if (code2 < 0) return code2; */
/* Check for names that were undefined or caused errors. */
for (dest = count - 2, i = 0; i < count >> 1; i++)
if (list.results[i] < 0) {