Bug 325745 - EPS file does not scale
Summary: EPS file does not scale
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: PS backend (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
: 326460 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-10-07 15:36 UTC by Jonathan Riddell
Modified: 2013-10-23 17:03 UTC (History)
3 users (show)

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


Attachments
the eps file (5.65 KB, image/x-eps)
2013-10-07 15:36 UTC, Jonathan Riddell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Riddell 2013-10-07 15:36:13 UTC
I have an EPS file generated from an SVG with Inkscape.  In Evince it scales well when I make the Evince window larger while in Okular if I scale the window to full size it becomes blocky as if the EPS was a bitmap.

Reproducible: Always
Comment 1 Jonathan Riddell 2013-10-07 15:36:44 UTC
Created attachment 82703 [details]
the eps file
Comment 2 Albert Astals Cid 2013-10-07 15:50:21 UTC
Basically has to do with the "what's the page size" problem.
Comment 3 Max Sydorenko 2013-10-14 15:30:23 UTC
The source of the problem is that from some version Okular started to use kde image libs as a default backend for EPS, which are not capable to render EPS correctly, instead just showing to you raster thumbnail.
To get around this issue You can select
Settings - General - Program Features -Show backend selection dialog
and then select Ghostscript backend every time you open EPS.

Hence I have a question to developers is there any way I can specify the priority of backends (i.e. set another backend as default)?
Comment 4 Albert Astals Cid 2013-10-14 21:53:45 UTC
Ouch, the code in kdelibs that sorts the priority is broken so you are actually getting the backend with less priority, trying to fix that up. Thanks for bringing it into attention.
Comment 5 Albert Astals Cid 2013-10-19 17:08:25 UTC
So, the code in kdelibs has been fixed, now the proper backend will be used by default and of course you can always enable the backend selection dialog.

Max if you want to change priority you can edit the .desktop file of each backend (which unfortunately doesn't work as of 4.11.2 becuse of the bug in kdelibs)
Comment 6 Albert Astals Cid 2013-10-23 17:03:28 UTC
*** Bug 326460 has been marked as a duplicate of this bug. ***