summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Johnston <ray.johnston@artifex.com>2021-09-15 11:11:41 -0700
committerChris Liddell <chris.liddell@artifex.com>2021-09-16 19:54:11 +0100
commitce64fbbd4c26837bf47297978a512b526b8edaac (patch)
treef8281a863777e376d6f78d8671c299c221b4c355
parent45310b501bdfbd68500768c5caeafa79cecd9010 (diff)
downloadghostpdl-ce64fbbd4c26837bf47297978a512b526b8edaac.tar.gz
Fix confusing (wrong) comment and dictionary name about Overprint handling
The "don't" was wrong, and the name "okOPcs" was confusing. The special OP handling (potentially changing the BlendMode) is needed for those colorspaces, or a device that supports DeviceN.
-rw-r--r--Resource/Init/pdf_ops.ps6
1 files changed, 3 insertions, 3 deletions
diff --git a/Resource/Init/pdf_ops.ps b/Resource/Init/pdf_ops.ps
index 4accf3976..27c206808 100644
--- a/Resource/Init/pdf_ops.ps
+++ b/Resource/Init/pdf_ops.ps
@@ -680,8 +680,8 @@ end
} def
/Dpop { //OPsaveDstack begin previous { def } forall end } def
-% colorspaces that don't require special overprint transparency handling
-/okOPcs mark /DeviceGray 0 /DeviceCMYK 1 /DeviceN 2 /Separation 3 .dicttomark def
+% colorspaces that require special overprint transparency handling
+/specialOPcs mark /DeviceGray 0 /DeviceCMYK 1 /DeviceN 2 /Separation 3 .dicttomark def
% Take care of pushing a transparency group if we need it for SMask or for Overprint..
% After pushing the group, we save the ca and CA and change them
@@ -696,7 +696,7 @@ end
//OPsaveDstack begin
//Dpush exec % push the current OPsaveDstack values into 'previous'
/SupportsDevn .special_op
- okOPcs currentcolorspace 0 get dup /Indexed eq {
+ specialOPcs currentcolorspace 0 get dup /Indexed eq {
pop currentcolorspace 1 get % use the base space
} if
known or {