[Poppler-bugs] [Bug 89357] New: pdftocairo produces illegal postscript

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Feb 27 02:16:58 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=89357

            Bug ID: 89357
           Summary: pdftocairo produces illegal postscript
           Product: poppler
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: cairo backend
          Assignee: poppler-bugs at lists.freedesktop.org
          Reporter: dag at newtech.fi

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20150227/cbf051b9/attachment.html>


More information about the Poppler-bugs mailing list