Bug 182016 - KPDF generates broken postscript file when printing some PDFs
Summary: KPDF generates broken postscript file when printing some PDFs
Status: RESOLVED INTENTIONAL
Alias: None
Product: kpdf
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Albert Astals Cid
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-26 20:03 UTC by Martin Doucha
Modified: 2009-01-26 20:54 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
PDF which triggers the bug (160.69 KB, application/pdf)
2009-01-26 20:05 UTC, Martin Doucha
Details
Broken PostScript of example PDF (355.76 KB, application/postscript)
2009-01-26 20:06 UTC, Martin Doucha
Details
PostScript of example PDF fixed by hand (64.84 KB, application/postscript)
2009-01-26 20:09 UTC, Martin Doucha
Details

Note You need to log in before you can comment on or make changes to this bug.
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