diff options
author | Chris Liddell <chris.liddell@artifex.com> | 2017-09-21 18:34:32 +0100 |
---|---|---|
committer | Chris Liddell <chris.liddell@artifex.com> | 2017-09-28 11:34:05 +0100 |
commit | 8760a38e4ca49ce403cb362ecb4d6b4d247587f1 (patch) | |
tree | bb22e4712c485cb3b3046f46215e1feeb663269c | |
parent | cc966e7f9029c27abc896431a3c4910b40d915ef (diff) | |
download | ghostpdl-8760a38e4ca49ce403cb362ecb4d6b4d247587f1.tar.gz |
Fix errors with 6b06b8c854
The stack manipulations with the previous commit were not quite right.
-rw-r--r-- | Resource/Init/pdf_ops.ps | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Resource/Init/pdf_ops.ps b/Resource/Init/pdf_ops.ps index 10058b8b1..438e64cbc 100644 --- a/Resource/Init/pdf_ops.ps +++ b/Resource/Init/pdf_ops.ps @@ -629,7 +629,7 @@ end def PDFusingtransparency { .currentSMask //null ne { mark /Subtype /Group /Isolated //true .dicttomark pathbbox .begintransparencygroup - exch .currentshapealpha exch .currentopacityalpha exch 4 -1 roll % avoid double application + .currentshapealpha .currentopacityalpha 3 -1 roll % avoid double application 1 .setopacityalpha 1 .setshapealpha } if dup checkOPtrans exch 1 index { @@ -645,7 +645,7 @@ end def .endtransparencygroup .setopacityalpha .setblendmode % end the CompatibleOverprint group } if .currentSMask //null ne { - .endtransparencygroup .setshapealpha .setopacityalpha + .endtransparencygroup .setopacityalpha .setshapealpha } if } { cvx exec |