Summary: | postcript test file is not viewed correctly in kghostview | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | ndeb |
Component: | general | Assignee: | Okular developers <okular-devel> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | adrian, ana |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Test PS file
a good test case for this bug |
Description
ndeb
2004-01-08 16:23:04 UTC
I ran "xpdf /usr/share/cups/data/testprint.ps" and it failed to display the file after this error message: Error: May not be a PDF file (continuing anyway) Error (0): PDF file is damaged - attempting to reconstruct xref table... Error: Couldn't find trailer dictionary Error: Couldn't read xref table Warning: XtRemoveGrab asked to remove a widget not on the list Adobe acroread 5.08 also fails to display the file. So it appears that none of kghostview, xpdf, and acroread handles some "damaged" PDF files that gv handles just fine. It works for me, on my /usr/share/cups/data/testprint.ps. Kghostview correctly display the only page on the file. Can you post your /usr/share/cups/data/testprint.ps file please? ( BTW, on my system: §md5sum /usr/share/cups/data/testprint.ps d0475170acbb3a7d35cb0023174e62d8 /usr/share/cups/data/testprint.ps ) Sorry for my mistake in comment 1 , where I forgot that xpdf and acroread cannot read PS files (unlike gv and kghostview). To comment 2 , on my system, "md5sum /usr/share/cups/data/testprint.ps" shows: eb05926bb83051bb5ba94a777d17d74d /usr/share/cups/data/testprint.ps But thats because mine is a different file altogether (comes with mandrake linux cooker release 20031231). And note that gv can display the same file just fine. Subject: Re: postcript test file is not viewed correctly in kghostview Le Thursday 08 January 2004 18:28, ndeb@ece.cmu.edu a écrit : > But thats because mine is a different file altogether (comes with mandrake > linux cooker release 20031231). And note that gv can display the same file > just fine. Can you post it here? Or send it by private mail to me. Otherwise, it's almost impossible to find out what's wrong. thank you, luis -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE//fjYGpBAvyRwXdgRAmuwAJ4mzvkMKkknXAE2fm/MVivExAgmYACgtRpT FR6/dmPffINeAHb6y+v+2vg= =6jfH -----END PGP SIGNATURE----- Created attachment 4060 [details]
Test PS file
Here's my /usr/share/cups/data/testprint.ps .
This is a Mandrake version which includes a the Mandrake Logo as a file inside the file in the .ps. So, DSC parsing in kghostview sees two pages: The real first page and the one in the logo document. luis gv shows one and only one page and shows the logo in the 1st page itself. So who is right/wrong and in which way ? More specifically, what is wrong with kghostview ? Created attachment 6146 [details]
a good test case for this bug
oops, I forgot to comment my previous attachement : I've the same problem with Kghostview. I can correctly see this file with gv but I am only able to see the first page with Kghostview and the mouse cursor seems always busy. An indication of the problem may be that in gv, the page of the ps are from 421 to 442 (an article from a journal). Maybe that Kghostview can interpret correctly this numerotation. still valid now :/ nobody can fix this ? Okular renders the one-page document attached just fine. |