flathub / org.gnome.Evince

https://flathub.org/apps/details/org.gnome.Evince
2 stars 15 forks source link

Missing fonts #21

Closed Zlopez closed 5 years ago

Zlopez commented 5 years ago

I tried to open a document and none of the fonts was available in the flatpak, so I end up with unreadable text. It's possible to read them from some runtime?

Unreadable text in czech sample: screenshot from 2019-03-03 16-57-38

Output of Properties->Fonts: screenshot from 2019-03-03 16-57-54

TingPing commented 5 years ago

Your unreadable example looks like an encoding issue not a font issue.

Zlopez commented 5 years ago

This PDF doesn't have embeded fonts, but it's correctly displayed in gmail web interface. So I think this is issue with fonts, otherwise this issue will be same in every other PDF reader.

Sent from ProtonMail mobile

-------- Původní zpráva -------- Zapnuto 3. 3. 2019 18:47, Patrick napsal:

Your unreadable example looks like an encoding issue not a font issue.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

TingPing commented 5 years ago

That is faulty logic. The characters are rendered just the wrong ones which is an encoding issue, otherwise they would show as the missing font character. That isn't to say it isn't an Evince bug.

Zlopez commented 5 years ago

Ok, in this case where should I fill the bug?

Sent from ProtonMail mobile

-------- Původní zpráva -------- Zapnuto 3. 3. 2019 19:50, Patrick napsal:

That is faulty logic. The characters are rendered just the wrong ones which is an encoding issue, otherwise they would show as the missing font character. That isn't to say it isn't an Evince bug.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

jascrain commented 5 years ago

Ok, in this case where should I fill the bug?

It could be a problem with poppler, the library evince uses for PDF rendering. Try it with poppler's pdftocairo program, such as pdftocairo -png input.pdf output, and if it's the same bad rendering, file a bug at https://gitlab.freedesktop.org/poppler/poppler/issues/new?issue .

Zlopez commented 5 years ago

@jascrain Thanks, I tried the pdftocairo and got different bad rendering, but still it was rendered badly. So I created an issue in poppler. I hope this will be useful.

gpoo commented 5 years ago

Closing this issue, as it belongs to Poppler.