From 535d11e8a1d667a3d71680b27f18e4a89df98b2d Mon Sep 17 00:00:00 2001 From: Alex Cherepanov Date: Sun, 20 May 2012 16:31:14 -0400 Subject: 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. --- gs/lib/pdfopt.ps | 2 ++ 1 file changed, 2 insertions(+) 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 { -- cgit v1.2.3