summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Resource/Init/pdf_draw.ps21
1 files changed, 20 insertions, 1 deletions
diff --git a/Resource/Init/pdf_draw.ps b/Resource/Init/pdf_draw.ps
index 08ebc5ff9..fe6755104 100644
--- a/Resource/Init/pdf_draw.ps
+++ b/Resource/Init/pdf_draw.ps
@@ -2635,7 +2635,26 @@ pdfdict
2635 } forall 2635 } forall
2636 } if 2636 } if
2637 2637
2638 3 index //false /resolvestream cvx 2638 3 index
2639 % /Contents for the stream is not per the spec, but Acrobat handles it
2640 dup /Contents knownoget
2641 {
2642 % We want to make it's a dictionary, and represents a stream
2643 dup type /dicttype eq
2644 {
2645 dup /FilePosition known
2646 {
2647 ( **** Error: Invalid Form definition. Output may be incorrect.\n) pdfformaterror
2648 exch pop
2649 }
2650 {pop} ifelse
2651 }
2652 {
2653 pop
2654 }
2655 ifelse
2656 }if
2657 //false /resolvestream cvx
2639 /.paintform cvx 2658 /.paintform cvx
2640 ] cvx /PaintProc exch put 2659 ] cvx /PaintProc exch put
2641 % Adjust pdfemptycount since we have an extra dictionary on the stack 2660 % Adjust pdfemptycount since we have an extra dictionary on the stack