[pdftex] Re: pdf file not displaying properly in browser

Alan Shutko ats at acm.org
Tue Mar 20 09:22:23 CET 2001


Hans Hagen <pragma at wxs.nl> writes:

> Optimizing is always a good idea and as far as i know rather robust too
> (nowadays). 

I've been having troubles getting pdfopt to work on pdflatex'd files.
With both GS 6.50 and 6.61:

[08:33:55] wesley:~/gs6.61/lib $ ../bin/gs -q -dNODISPLAY -- pdfopt.ps resume.pdf opt.pdf
ERROR: file position incorrect by -1
Error: /rangecheck in padto
Operand stack:
   --nostringval--
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1   3   %oparray_pop   1   3   %oparray_pop   1   3   %oparray_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   --nostringval--   --nostringval--
Dictionary stack:
   --dict:958/1123(ro)(G)--   --dict:0/20(G)--   --dict:97/200(L)--   --dict:73/200(G)--   --dict:197/230(ro)(G)--   --dict:16/24(L)--   --dict:23/40(L)--   --dict:35/36(L)--
Current allocation mode is local
Current file position is 30124
AFPL Ghostscript DEVELOPMENT RELEASE 6.61: Unrecoverable error, exit code 1

That file was 13d... I've also tried 14f and files from 12o.  I only
see this problem with pdflatex'd files... anyone else see this?

-- 
Alan Shutko <ats at acm.org> - In a variety of flavors!
Let he who takes the plunge remember to return it by Tuesday.



More information about the pdftex mailing list