diff options
author | Alex Cherepanov <alex.cherepanov@artifex.com> | 2012-05-20 16:31:14 -0400 |
---|---|---|
committer | Alex Cherepanov <alex.cherepanov@artifex.com> | 2012-05-20 16:31:14 -0400 |
commit | 535d11e8a1d667a3d71680b27f18e4a89df98b2d (patch) | |
tree | 6f8cd11019555c675faa46a22ef0a3d92606b73b | |
parent | 40cc976eae680d6a6f1297c5a0d556a37e9eb4b8 (diff) |
Bug 693044: fix pdfopt utility.
Disable checking for the max pdf object number during PDF linearisation,
because linearisation adds a few new objects to the PDF file.
-rw-r--r-- | gs/lib/pdfopt.ps | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gs/lib/pdfopt.ps b/gs/lib/pdfopt.ps index 74cb91994..6e02dff9a 100644 --- a/gs/lib/pdfopt.ps +++ b/gs/lib/pdfopt.ps @@ -1010,6 +1010,8 @@ userdict /clostreams 20 dict put % stream -> [data endproc] 40 dict begin /IDict exch def /OFile exch def + % Disable check for the max object number because pdfopt adds new objects. + /NumObjects 16#7fffffff store /starttime exch def /ToWrite 100 dict def /now { |