Bug 325745

Summary: EPS file does not scale
Product: [Applications] okular Reporter: Jonathan Riddell <jr>
Component: PS backendAssignee: Okular developers <okular-devel>
Status: RESOLVED FIXED    
Severity: normal CC: aacid, joey.dumont, maxim.stargazer
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 4.11.3
Sentry Crash Report:
Attachments: the eps file

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. ***