summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Sharp <ken.sharp@artifex.com>2018-08-30 13:33:36 +0100
committerChris Liddell <chris.liddell@artifex.com>2018-08-30 14:02:43 +0100
commit214d6725e4a2b539294ebfba528a8d0961379fd0 (patch)
tree7fbf6c95468be665d2d5c802a590071cec7a3010
parente40f79df969e4168daf65b3b3af3ea73b6a71fc4 (diff)
downloadghostpdl-214d6725e4a2b539294ebfba528a8d0961379fd0.tar.gz
ps2write - modify Lab space handling
Commit 9e58cc8dd7e9b98620c798c901f800aff2e381ce improved the handling of /Separation spaces with an Lab alternate space. However, it also altered the handling of Lab spaces as the base space for patterns, or the initial space. This caused a small difference in release testing. The result was incorrect previously, and after the above commit, but the commit made it appear worse from a user's perspective. Until we can get time to properly convert Lab base spaces into a device space, return the code to its prior state. This does not affect the improvement to Separation spaces.
-rw-r--r--devices/vector/gdevpdfc.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/devices/vector/gdevpdfc.c b/devices/vector/gdevpdfc.c
index a661013b2..74d44a463 100644
--- a/devices/vector/gdevpdfc.c
+++ b/devices/vector/gdevpdfc.c
@@ -847,13 +847,7 @@ pdf_color_space_named(gx_device_pdf *pdev, const gs_gstate * pgs,
cos_c_string_value(pvalue, pcsn->DeviceGray);
return 0;
case 3:
- if (pcs->cmm_icc_profile_data->islab) {
- if (pdev->ForOPDFRead) {
- return_error(gs_error_rangecheck);
- }
- } else {
- cos_c_string_value(pvalue, pcsn->DeviceRGB);
- }
+ cos_c_string_value(pvalue, pcsn->DeviceRGB);
return 0;
case 4:
cos_c_string_value(pvalue, pcsn->DeviceCMYK);