<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - pdftocairo produces illegal postscript"
href="https://bugs.freedesktop.org/show_bug.cgi?id=89357">89357</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>pdftocairo produces illegal postscript
</td>
</tr>
<tr>
<th>Product</th>
<td>poppler
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>cairo backend
</td>
</tr>
<tr>
<th>Assignee</th>
<td>poppler-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>dag@newtech.fi
</td>
</tr></table>
<p>
<div>
<pre>Hi!
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
(<)-20(C)-16(r)54(o)-31(w)32(n)-9(e)-27(P)-40(l)63(a)42(z)-47(a)42(@r)54(e
)-28(s)-50(e)-28(r)54(v)92(a)41(t)35(i)64(o)-31(n)-10(s)-50(.)32(i)64(h)-
9(g)-8(.)32(c)-22(o)-31(m)46(>)]TJ
ET
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>