Bug 326460

Summary: Font rendering is broken for EPS files.
Product: [Applications] okular Reporter: Joey Dumont <joey.dumont>
Component: PS backendAssignee: Okular developers <okular-devel>
Status: RESOLVED DUPLICATE    
Severity: normal CC: aacid, joey.dumont, oliver.sander
Priority: NOR    
Version First Reported In: 0.17.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: One of the EPS files that was used to reproduce the bug.
Sine function plot. Is also badly rendered by okular 0.17.2.

Description Joey Dumont 2013-10-22 18:44:16 UTC
When opening any EPS file, fonts look ugly (low resolution). Converting to PDF using ps2pdf solves the font rendering issues. 

Reproducible: Always

Steps to Reproduce:
1. Open EPS file.
Comment 1 Albert Astals Cid 2013-10-22 22:34:33 UTC
Can you please attach the eps file you are using?
Comment 2 Joey Dumont 2013-10-23 14:16:18 UTC
Created attachment 83056 [details]
One of the EPS files that was used to reproduce the bug.

While the bug has been reproduced for multiple EPS files on different machines, this is one example of an EPS file whose font rendering is malfunctioning.
Comment 3 Oliver Sander 2013-10-23 14:46:31 UTC
I don't see any problems on my machine, both with okular 0.14.3 from Debian wheezy and with okular from today's git master.  With the latter version I do get errors in the console though, so maybe the file is slightly malformed?  The error is

GPL Ghostscript 9.05: Error: Font Renderer Plugin ( FreeType ) return code = -1

repeated about 25 times.
Comment 4 Joey Dumont 2013-10-23 15:09:56 UTC
The problem appears on okular 0.17.0 and is present up to at least 0.17.2 (current version on Arch Linux). It is not present on earlier versions. I have no errors on the command-line whatsoever. I have tested this on multiple files and the result is always the same. 

If the problem is solved in the git master (which I have not tested), then it means this bug is already fixed.
Comment 5 Joey Dumont 2013-10-23 15:11:54 UTC
Created attachment 83059 [details]
Sine function plot. Is also badly rendered by okular 0.17.2.
Comment 6 Oliver Sander 2013-10-23 15:23:13 UTC
Looks good here.  What is your backend?  Is it 'ghostscript'?  You can find which backend you use in "settings->viewer module settings" (name guessed from the German translation).
Comment 7 Albert Astals Cid 2013-10-23 15:36:03 UTC
Oliver, that won't give you the backend you are using at the moment, for that you need Help -> About backend.
Comment 8 Joey Dumont 2013-10-23 16:02:28 UTC
Help -> About Backend says Image Backend version 0.1.1.
Comment 9 Albert Astals Cid 2013-10-23 17:03:28 UTC

*** This bug has been marked as a duplicate of bug 325745 ***