Bug 77777

Summary: pdftops produces invalid level 3 PostScript
Product: poppler Reporter: Alex Korobkin <korobkin+lpad>
Component: generalAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED NOTABUG QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: original.pdf
converted-by-pdftops.ps

Description Alex Korobkin 2014-04-22 19:39:23 UTC
Attached file cannot be opened by GhostScript 9.12 or Adobe Distiller when converted from PDF to PS by pdftops -level3 -r 300 

That's what GS has to say:
resmp FindResource beg F7_0
resmp FindResource end
Error: /undefinedresult in --currentpoint--
Operand stack:
   (\000\001)   --nostringval--
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1934   1   3   %oparray_pop   1933   1   3   %oparray_pop   1917   1   3   %oparray_pop   1803   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--
Dictionary stack:
   --dict:1176/1684(ro)(G)--   --dict:1/20(G)--   --dict:85/200(L)--   --dict:77/150(L)--   --dict:20/25(L)--   --dict:0/15(L)--   --dict:0/15(L)--   --dict:7/15(L)--
Current allocation mode is local


Tested with poppler 0.25.3. 

pdftocairo creates valid level3 PS out of this file.
Comment 1 Alex Korobkin 2014-04-22 19:40:13 UTC
Created attachment 97769 [details]
original.pdf
Comment 2 Alex Korobkin 2014-04-22 19:40:42 UTC
Created attachment 97770 [details]
converted-by-pdftops.ps
Comment 3 Alex Korobkin 2014-04-22 19:41:06 UTC
Wow, I scored 77777 bug number.
Comment 4 Alex Korobkin 2014-04-23 17:47:17 UTC
Actually, seems like the original PDF is very bad. 
I can open it normally with evince, but nothing else.
Comment 5 Alex Korobkin 2014-04-24 15:31:04 UTC
It's certainly a bad pdf, sorry.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.