Bug 379057 - not showing greek letters in some documents
Summary: not showing greek letters in some documents
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 0.24.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-21 23:06 UTC by diogoferrari
Modified: 2017-05-03 09:15 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description diogoferrari 2017-04-21 23:06:11 UTC
First of all, let me say that okular is a fantastic pdf reader. 

In some pdfs, greek letters do not show up in the document, although it does in other viewers. I tested in the MuPDF and in the chrome pdf viewer, and the letters appear normally there. Here is a link for a pdf with the precise example:

http://www.jmlr.org/papers/volume12/hannah11a/hannah11a.pdf

At page 1929, for instance, in the line where you see $X_{ij} |θi,x ∼ N(μ_{ij} , σ^2)$, the $mu_{ij}$ just do not appear in okular.
Comment 1 Luigi Toscano 2017-04-21 23:27:00 UTC
Do you have fonts-texgyre installed? Could you please try to remove them?
Comment 2 diogoferrari 2017-04-21 23:46:43 UTC
I do have them installed. Is there any way to solve it without removing the fonts?
Comment 3 Luigi Toscano 2017-04-21 23:53:52 UTC
Please try at least to see if removing them solves the issue. It was the solution for me, and I remember other bugs related to those fonts:
https://bugs.kde.org/show_bug.cgi?id=357822
https://bugs.kde.org/show_bug.cgi?id=335058
https://bugs.kde.org/show_bug.cgi?id=332595

So I'm not sure if there is a real fix, if not playing with the fontconfig configuration so that font is not used. But if it's not used, removing it shouldn't be a problem. I can see those characters using gsfonts.
Comment 4 diogoferrari 2017-04-22 15:27:16 UTC
Yes, by deactivating them it works. Thanks !
Comment 5 Albert Astals Cid 2017-05-03 09:15:08 UTC
There's nothing we can do here, at most it would be a poppler bug.

What poppler does is you don't have the font, asks fontconfig for a substitute font and tries to use it as best as it can. Either the font fontconfig returns is not a good substitute or poppler is misusing it, anyway it wouldn't be an Okular bug.