Bug 369674 - Okular mismanages font encoding
Summary: Okular mismanages font encoding
Status: RESOLVED UPSTREAM
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 0.24.0
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-03 12:28 UTC by Sergio
Modified: 2016-10-03 20:15 UTC (History)
2 users (show)

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


Attachments
A document with a testcase for the issue (41.20 KB, application/pdf)
2016-10-03 12:29 UTC, Sergio
Details

Note You need to log in before you can comment on or make changes to this bug.
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.