Bug 369674

Summary: Okular mismanages font encoding
Product: [Applications] okular Reporter: Sergio <sergio.callegari>
Component: PDF backendAssignee: Okular developers <okular-devel>
Status: RESOLVED UPSTREAM    
Severity: normal CC: aacid, yurchor
Priority: NOR    
Version: 0.24.0   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: A document with a testcase for the issue

Description Sergio 2016-10-03 12:28:01 UTC
In some documents, Okular mismanages the fonts, printing incorrect chars for non ascii chars

Reproducible: Always

Steps to Reproduce:
1. Open the attached document with okular
2. Reopen it with some other pdf viewer
3. Check the double quotes in the two cases
Comment 1 Sergio 2016-10-03 12:29:44 UTC
Created attachment 101390 [details]
A document with a testcase for the issue
Comment 2 Sergio 2016-10-03 12:39:44 UTC
With respect to the sample document:

correctly working viewers on linux:

Mozilla pdf.js
masterpdfeditor
Foxit PDF reader for linux

Broken viewers on linux:

xpdf

so it may be a poppler bug inherited from xpdf.

However, Google PDFium fails on the test case too (although in a different way, i.e. not showing the quotes at all).
google pdfium
Comment 3 Yuri Chornoivan 2016-10-03 12:56:26 UTC
Hi!

This bug is due to the issues in poppler library which is used to render PDF in Okular. All poppler-based viewers (Okular, qpdfviewer, Evince) show the same image with wrong quotation marks.

Please report this bug against poppler here:

https://bugs.freedesktop.org/

Thanks in advance for your work.