summaryrefslogtreecommitdiff
path: root/pcl
diff options
context:
space:
mode:
authorHenry Stiles <henry.stiles@artifex.com>2021-11-15 11:31:33 -0700
committerHenry Stiles <henry.stiles@artifex.com>2021-11-17 12:09:19 -0700
commit86fb09af4aad90421c3cfead2788938015c5be10 (patch)
treeb782b329fb1b902602fe1aa33e995e24f6750f79 /pcl
parent259c16f770ad5339dee88db28a6df7adac40619d (diff)
downloadghostpdl-86fb09af4aad90421c3cfead2788938015c5be10.tar.gz
Fix 704705 - CET file errors out incorrectly.
Many Quality Logic tests were failing because the graphics state color space and pattern color space did not match triggering an error in the Artifex interpreter. We believe this did cause an error in earlier HP models but now it does not, so the error has been removed.
Diffstat (limited to 'pcl')
-rw-r--r--pcl/pxl/pxink.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/pcl/pxl/pxink.c b/pcl/pxl/pxink.c
index c518d4b15..89c8a3623 100644
--- a/pcl/pxl/pxink.c
+++ b/pcl/pxl/pxink.c
@@ -647,13 +647,6 @@ set_source(const px_args_t * par, px_state_t * pxs, px_paint_t * ppt)
return_error(errorRasterPatternUndefined);
pattern = value;
- /* the HP 4700 error page for the pattern and graphic's state
- color space not matching is wrong, it reports "Error: 15", we
- use "ColorSpaceMismatch" which we suspect was hp
- intention */
- if (pattern->params.color_space != pxgs->color_space)
- return_error(errorColorSpaceMismatch);
-
px_set_halftone(pxs);
code = render_pattern(&ccolor, pattern, par->pv[aPatternOrigin],
par->pv[aNewDestinationSize], pxs);