Bug 184313 - Okular doesn't open correctly a particular eps file.
Summary: Okular doesn't open correctly a particular eps file.
Status: RESOLVED UPSTREAM
Alias: None
Product: okular
Classification: Applications
Component: PS backend (show other bugs)
Version: 0.8
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-14 15:00 UTC by Diego
Modified: 2009-02-16 14:09 UTC (History)
0 users

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


Attachments
EPS file that doesn't open correctly in Okular (399.52 KB, application/postscript)
2009-02-14 15:05 UTC, Diego
Details
PDF version of the EPS file (49.00 KB, application/pdf)
2009-02-14 15:08 UTC, Diego
Details
Screenshot of the file opened uncorrectly in Okular (81.80 KB, image/png)
2009-02-14 15:14 UTC, Diego
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diego 2009-02-14 15:00:16 UTC
Version:           0.8 (using 4.2.00 (KDE 4.2.0), 4.2.0-9.fc10 Fedora)
Compiler:          gcc
OS:                Linux (i686) release 2.6.27.12-170.2.5.fc10.i686

Okular doesn't show correctly an eps file exported with Scribus.

I must admit the generation process for this file is not one of the most orthodox, but Dolphin's preview is right and so is the image displayed in Gwenview.

Here's how I created it:
a) download PDF file from:
http://marte.unican.es/documentation/appsched-proposal.pdf
b) print page #6 to postscript from Okular
c) open it with Scribus, select the figure at the top of the page
d) export the selection to eps

Here's what I get:
1) preview in Dolphin is right;
2) the image in Gwenview is shown correctly;
3) if you convert the image to pdf with "epstopdf" command Okular can show it correctly too (going to attach the .pdf too);
4) the eps in Okular isn't displayed right. You get the image at the bottom left of a orizontally oriented A4 paper (screenshot incoming).

By the way, to me only this particular file doesn't work: I can see other eps with bounding boxes just fine.
Comment 1 Diego 2009-02-14 15:05:32 UTC
Created attachment 31294 [details]
EPS file that doesn't open correctly in Okular

EPS file that doesn't open correctly in Okular (wrong orientation, wrong paper size).
Comment 2 Diego 2009-02-14 15:08:20 UTC
Created attachment 31295 [details]
PDF version of the EPS file

PDF version of the EPS file.
The PDF opens fine in Okular, it shows how the eps should look like in Okular.
Comment 3 Diego 2009-02-14 15:14:05 UTC
Created attachment 31297 [details]
Screenshot of the file opened uncorrectly in Okular
Comment 4 Pino Toscano 2009-02-16 13:39:08 UTC
Confirm.
Although, the problem is either in the file (specifying different bounding boxes for document and page) or in libspectre.

Can you please report the problem for libspectre? Its bug tracker is at https://bugs.freedesktop.org, "libspectre" product.
Comment 5 Diego 2009-02-16 14:09:36 UTC
Thanks, upstream report done:
https://bugs.freedesktop.org/show_bug.cgi?id=20138