mate-desktop / atril

A document viewer for MATE
http://www.mate-desktop.org
GNU General Public License v2.0
206 stars 62 forks source link

Specific PDF is not rendered correctly (partially missing content) #498

Closed drws closed 3 years ago

drws commented 4 years ago

Steps to reproduce the behaviour

Consider this specific PDF. In Atril, most of the title page content seems to be missing, but not all. The document renders correctly in other PDF viewers (Evince, PDF.js, Master PDF).

MATE general version

v1.24.1

Package version

v1.24.0

Linux Distribution

Arch Linux

cwendling commented 4 years ago

Can't reproduce on Debian Unstable with Atril 1.24.0. I get the same result with this PDF with Atril, Evince, XPDF, ImageMagic (both display and convert thispdf.pdf foo.tiff and looking at the tiff images) and Firefox's PDF viewer (which I believe is PDF.js).

drws commented 3 years ago

Looking at document differences and properties in different viewers, I suspect it is font-related. How does Atril handle missing fonts? In which (font-related) case would text simply not be rendered?

Also, opening the mentioned PDF by running Atril in terminal produces an error line ! SyncTeX Error : No file? (everything else is the same - file opens, but some of the text is missing).

rcaridade145 commented 3 years ago

Could this be down to differences to versions of poppler?

drws commented 3 years ago

The problem persists for me even with latest poppler 20.12.0. @cwendling Would you be so kind and check also your version of poppler?

cwendling commented 3 years ago

@drws 20.09.0

drws commented 3 years ago

@cwendling I have tried downgrading and it is not the reason. Thank you for all of your help.

While setting up the downgrade, I spotted an immediately-suspicious (and at least in Arch repos optional) package poppler-data, the installation of which has solved the problem. I have reported it downstream and am closing this up :)