summaryrefslogtreecommitdiff
path: root/gs
diff options
context:
space:
mode:
authorAlex Cherepanov <alex.cherepanov@artifex.com>2011-11-11 21:09:02 -0500
committerAlex Cherepanov <alex.cherepanov@artifex.com>2011-11-11 21:09:02 -0500
commit8c3d5996d379818c8c0422bb8330840d0fb12645 (patch)
tree29e1e41545a198a08a8a2c2a9a4945ca0faca32a /gs
parent9a015bf889ea43c050fcf652c37d3c786483e243 (diff)
Bug 692675: drop ivalid filter parameters.
Check for /dicttype instead of null. Drop null and invalid filter parameters at once.
Diffstat (limited to 'gs')
-rw-r--r--gs/Resource/Init/pdf_base.ps2
1 files changed, 1 insertions, 1 deletions
diff --git a/gs/Resource/Init/pdf_base.ps b/gs/Resource/Init/pdf_base.ps
index 64dc4625e..dbd468b21 100644
--- a/gs/Resource/Init/pdf_base.ps
+++ b/gs/Resource/Init/pdf_base.ps
@@ -973,7 +973,7 @@ currentdict /pdf_rules_dict undef
{ filtername add_A85_param filter }
} {
{ % Stack: parms source filtername
- 2 index 0 oget dup //null eq { pop } {
+ 2 index 0 oget dup type /dicttype ne { pop } {
exch filtername dup /JBIG2Decode eq { exch jbig2cachectx exch } if
} ifelse add_A85_param filter
exch dup length 1 sub 1 exch getinterval exch