Bug 434104 - Some PDF documents only display as white
Summary: Some PDF documents only display as white
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 20.12.3
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-07 12:21 UTC by Jaak Ristioja
Modified: 2021-03-07 18:02 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 Jaak Ristioja 2021-03-07 12:21:18 UTC
Some PDF documents only display white pages. The pages are of correct size, but always just pure white. They seem to display just fine with xpdf thou.

Example file: https://upload.wikimedia.org/wikipedia/commons/3/37/Jewish_Encyclopedia_Volume_1.pdf (68M)
SHA512sum of file: 13d41a6fbf4a0ecfd693c327b1eb18519a666e130275687b38de490d4e74771f629abb3f283c7e0193a9a1eca43fab6d844615fc4940d406c0fa75aeea46e67d)

Most (but not all) of the other volumes of the Jewish Encyclopedia on Wikimedia Commons seems to produce the same issue.

I've seen similar issues with scanned documents from other sources as well.


SOFTWARE/OS VERSIONS
Okular: 20.12.3
KDE Plasma Version: 5.21.2
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2
Comment 1 Yuri Chornoivan 2021-03-07 12:35:18 UTC
Cannot confirm the issue with poppler 20.12.0.

Can you try some other options on the "Settings -> Configure Okular -> Performance" page?

Thanks in advance for your answer.
Comment 2 Jaak Ristioja 2021-03-07 13:04:48 UTC
I unchecked "Enable transparency effects", changed "Memory usage" from "Aggressive" to "Low", unchecked "Enable Text Antialias", "Enable Graphics Antialias" and "Enable Text Hinting" under "Rendering" and clicked "OK". This didn't help, even after restarting Okular.
Comment 3 Jaak Ristioja 2021-03-07 13:27:09 UTC
Okay, it seems that the issue was due to the fact that app-text/poppler was compiled without support for jpeg2k on my Gentoo system. I suppose the PDF files had embedded jpeg2k in them. Recompiling poppler with USE="jpeg2k" seems to have fixed this.

I wonder whether it were possible to add a warning notice about missing jpeg2k support to Okular?

Either way, I apologize for being a burden.