Bug 395132 - Okular doesn't display some non-ascii characters in main view only. Print preview and text select work fine.
Summary: Okular doesn't display some non-ascii characters in main view only. Print pre...
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 1.3.3
Platform: Gentoo Packages Linux
: NOR minor
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-08 07:40 UTC by triffid.hunter
Modified: 2018-06-12 12:23 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Okular fails to display some non-ascii characters in main view (534.72 KB, image/png)
2018-06-08 07:40 UTC, triffid.hunter
Details
File -> Properties -> Fonts tab (545.96 KB, image/png)
2018-06-11 04:08 UTC, triffid.hunter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description triffid.hunter 2018-06-08 07:40:43 UTC
Created attachment 113140 [details]
Okular fails to display some non-ascii characters in main view

Okular doesn't display some non-ascii characters in main view, however they appear in print preview and text selection tool menu.

I found some bugs regarding non-ascii characters not being displayed in annotations, but nothing relating to main view missing some which subsequently appear in print preview, and nothing about it missing some but successfully rendering others.

PDF from attached screenshot: http://www.ti.com/lit/ds/symlink/drv8701.pdf
Comment 1 Luigi Toscano 2018-06-08 07:46:09 UTC
I can see the characters, and I suspect it's a font replacement issue, as the not all the fonts referenced by the document are embedded.

What is the content of the File->Properties->Fonts tab?
Comment 2 triffid.hunter 2018-06-11 04:08:14 UTC
Created attachment 113208 [details]
File -> Properties -> Fonts tab
Comment 3 Luigi Toscano 2018-06-11 08:23:12 UTC
Please try to remove the tex-gyre fonts (or configure fontconfig to not use them as primary choice for Helvetica & co).
Comment 4 triffid.hunter 2018-06-11 09:04:24 UTC
Wow that seems to have done it!

Care to inform me why they were breaking things? I don't know much about fonts in general, or how linux specifically handles them.

Those fonts apparently come from the texlive-fontsrecommended package, should I lodge a bug with my distro about it?

Could it still be considered an okular bug, that it chose that font rather than a different one? Or is that up to a different subsystem? Shouldn't fonts list which symbols they have inside?