diff options
author | Ray Johnston <ray.johnston@artifex.com> | 2013-05-29 21:59:45 -0700 |
---|---|---|
committer | Ray Johnston <ray.johnston@artifex.com> | 2013-05-30 08:56:14 -0700 |
commit | 0c55548b5fbf6fabdc7c5766c162b0cd67597627 (patch) | |
tree | 5ba9a7c87dfcd49264a66340be06eb8a9d2c89e8 | |
parent | b09746cd4c822c2a72f146e74ff48c4ca4a94807 (diff) | |
download | ghostpdl-0c55548b5fbf6fabdc7c5766c162b0cd67597627.tar.gz |
Fix incorrect Gray Detection on pages after the first color page.
Reported by customer 801. The pageneutralcolor element of the icc_struct
was not being reset, so once it was set for 'color' all subsequent pages
would be seen as color.
-rw-r--r-- | gs/base/gdevprn.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gs/base/gdevprn.c b/gs/base/gdevprn.c index 7d83e382c..014c9bed6 100644 --- a/gs/base/gdevprn.c +++ b/gs/base/gdevprn.c @@ -954,6 +954,7 @@ gdev_prn_output_page_aux(gx_device * pdev, int num_copies, int flush, bool seeka free_separation_names(pdev->memory, &(pdevn_params->separations)); pdevn_params->num_separation_order_names = 0; } + pdev->icc_struct->pageneutralcolor = pdev->icc_struct->graydetection; /* start detecting again */ endcode = (PRINTER_IS_CLIST(ppdev) && !ppdev->is_async_renderer ? clist_finish_page(pdev, flush) : 0); |