Bug 182016

Summary: KPDF generates broken postscript file when printing some PDFs
Product: [Unmaintained] kpdf Reporter: Martin Doucha <next_ghost>
Component: generalAssignee: Albert Astals Cid <aacid>
Status: RESOLVED INTENTIONAL    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: PDF which triggers the bug
Broken PostScript of example PDF
PostScript of example PDF fixed by hand

Description Martin Doucha 2009-01-26 20:03:47 UTC
Version:            (using KDE 3.5.9)
Compiler:          GCC 4.3.2-r2 i686 
OS:                Linux
Installed from:    Gentoo Packages

I need to print some automatically generated PDFs which all produce broken PostScript when printed from KPDF. I know this report is similar to bug 127627 but the example file from that bug works fine for me.
Comment 1 Martin Doucha 2009-01-26 20:05:41 UTC
Created attachment 30636 [details]
PDF which triggers the bug
Comment 2 Martin Doucha 2009-01-26 20:06:28 UTC
Created attachment 30637 [details]
Broken PostScript of example PDF
Comment 3 Martin Doucha 2009-01-26 20:09:23 UTC
Created attachment 30638 [details]
PostScript of example PDF fixed by hand

Compare the PostScript files using diff to see what lines cause trouble to PostScript parsers.
Comment 4 Albert Astals Cid 2009-01-26 20:42:52 UTC
You mean you killed all that font info? You did not fix it, see how gs complains

Can't find (or can't open) font file /home/tsdgeos/Resource/Font/TimesNewRomanPSMT.
Can't find (or can't open) font file TimesNewRomanPSMT.
Comment 5 Albert Astals Cid 2009-01-26 20:54:20 UTC
Sadly, although i can reproduce the bug i'm closing it as WONTFIX as we are not working on KDE 3 anymore and there is no kpdf in KDE 4, so this bug won't be fixed.

However, okular that is the kpdf successor in KDE 4 still has the same problem. The problem is in a code located in an external library called poppler. I've opened a bug in their bug tracker. https://bugs.freedesktop.org/show_bug.cgi?id=19747