Bug 89357 - pdftocairo produces illegal postscript
Summary: pdftocairo produces illegal postscript
Status: RESOLVED DUPLICATE of bug 85662
Alias: None
Product: poppler
Classification: Unclassified
Component: cairo backend (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: poppler-bugs
QA Contact:
Depends on:
Reported: 2015-02-27 10:16 UTC by Dag Nygren
Modified: 2015-03-03 20:00 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Description Dag Nygren 2015-02-27 10:16:58 UTC

Using Fedora Core 20, which currently is using pdftocairo 0.24.3 and found that
printing an some email with from kmail will produce invalid GhostScript.

Here an example of an invalid sequence:

/f-1-0 1 Tf
[(C)-16(r)54(o)-31(w)32(n)-9(e)-28( )33(P)-40(l)63(a)42(z)-47(a)41( )33
0.587906 w
2 J

Mark the lone "-" at the end of a line. This will make my printer barf and also ghostview.

Seems like pdftocairo splits lines at a certain length disregarding the splitting points.
Comment 1 Adrian Johnson 2015-03-03 20:00:35 UTC
Has been fixed in cairo master.

*** This bug has been marked as a duplicate of bug 85662 ***

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.