Bug 186723

Summary: Fonts rendered incorrectly in PDF
Product: [Applications] okular Reporter: Bernd Oliver Sünderhauf <pancho.s>
Component: PDF backendAssignee: Okular developers <okular-devel>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: 1st variation of the test file
2nd variation of the test file
3rd variation of the test file

Description Bernd Oliver Sünderhauf 2009-03-10 05:34:43 UTC
Version:            (using KDE 4.2.1)
OS:                Linux
Installed from:    Ubuntu Packages

I'm attaching three files where the fonts are incorrectly rendered in Okular, whereas they're correctly rendered in Acroread, Evince and even in the Dolphin previews. Please take a look at the attaced files.
Comment 1 Bernd Oliver Sünderhauf 2009-03-10 05:36:02 UTC
Created attachment 31967 [details]
1st variation of the test file
Comment 2 Bernd Oliver Sünderhauf 2009-03-10 05:36:27 UTC
Created attachment 31968 [details]
2nd variation of the test file
Comment 3 Bernd Oliver Sünderhauf 2009-03-10 05:36:50 UTC
Created attachment 31969 [details]
3rd variation of the test file
Comment 4 Bernd Oliver Sünderhauf 2009-03-10 05:38:10 UTC
Note that the test files were created using iText. It is rather unlikely that the error is on iText's side, because all three files render correctly in other PDF viewers.
Comment 5 Pino Toscano 2009-03-10 09:47:49 UTC
Hi,

Okular does not load and render PDF documents on its own, but uses a 3rd party library called "Poppler".
Please report the problem at the Poppler's bug tracking system at https://bugs.freedesktop.org, "poppler" product.

Thanks for your report.
Comment 6 Bernd Oliver Sünderhauf 2009-03-10 19:33:48 UTC
Hi Pino!
I know that Poppler is Okular's PDF rendering backend, and would have filed the bug there.
However I'm assuming that Dolphin's PDF preview uses Poppler as well and I know that Evince does use Poppler. Still, both render the files correctly.
So I'm not really convinced that it is a Poppler bug, and leave the ticket here in the Okular tracker.

Unfortunately I'm not familiar with Poppler's nor Okular's interfaces, so I can't tell what could possibly cause the error on Okular's side. Hopefully someone else can step in for me at this point.

Regards, Pancho
Comment 7 Pino Toscano 2009-03-10 20:15:56 UTC
(In reply to comment #6)
> However I'm assuming that Dolphin's PDF preview uses Poppler as well

Wrong assumption, it uses Ghostscript.

As I said, this is a Poppler bug.