Bug 441623 - Some PDFs are completely blank
Summary: Some PDFs are completely blank
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 21.08.0
Platform: Mint (Ubuntu based) Linux
: NOR grave
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-27 18:54 UTC by rms.des.web
Modified: 2021-08-27 20:12 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
PDF that appears blank in Okular (391.64 KB, application/pdf)
2021-08-27 18:54 UTC, rms.des.web
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rms.des.web 2021-08-27 18:54:51 UTC
Created attachment 141095 [details]
PDF that appears blank in Okular

SUMMARY
when opening some PDFs with Okular, the display shows only underlines of links.

STEPS TO REPRODUCE
1. Open attached PDF with Okular

OBSERVED RESULT
Blank PDF

EXPECTED RESULT
PDF displayed correctly.

SOFTWARE/OS VERSIONS
Windows: NA
macOS: NA
Linux/KDE Plasma: Linux 5.4.0-81-generic (Linux Mint 20.1)
(available in About System)
KDE Plasma Version: NA
KDE Frameworks Version: KDE Frameworks 5.85.0
Qt Version: Qt 5.15.3 (built against 5.15.3)

ADDITIONAL INFORMATION
Seem to be related to BUG https://bugs.kde.org/show_bug.cgi?id=334343
I assume it is a Poppler problem, but could not get it to work, even trying different updates.
Tried different software sources/versions (apt/snap/deb/flatpak), with similar results.
Currently using flatpak.
In my previous Ubuntu 18.04 installation, I did not face these problems with Okular.
Comment 1 rms.des.web 2021-08-27 18:59:48 UTC
Additionally: The text can be selected but is not rendered.
Comment 2 Yuri Chornoivan 2021-08-27 19:10:30 UTC
Cannot confirm the bug here. Everything is rendered as it should with Liberation fonts for Helvetica and Times (not embedded into the file).

What is shown on the "File->Properties->Fonts" tab for Helvetica and Times?

Can you install Liberation fonts or MS proprietary Helvetica and Times fonts and try again?

Thanks in advance for your answers.
Comment 3 rms.des.web 2021-08-27 19:37:26 UTC
Hi Yuri,
thank you very much for your fast reply!

It seems that Helvetica and Times are being substituted by "TeXGyreHeros" and "TeXGyreTermes", respectively.
I have Liberation fonts installed and installed the MS proprietary ones, but the bug persists.

Could this be related to flatpak packaging issues in mine machine?
Comment 4 Yuri Chornoivan 2021-08-27 19:40:12 UTC
(In reply to rms.des.web from comment #3)
> Hi Yuri,
> thank you very much for your fast reply!
> 
> It seems that Helvetica and Times are being substituted by "TeXGyreHeros"
> and "TeXGyreTermes", respectively.
> I have Liberation fonts installed and installed the MS proprietary ones, but
> the bug persists.
> 
> Could this be related to flatpak packaging issues in mine machine?

No. It's related to TeX Gyre fonts. Uninstall them (texgyre package).

Cf. https://bugs.kde.org/show_bug.cgi?id=431012
Comment 5 rms.des.web 2021-08-27 20:12:56 UTC
It worked!

besides uninstalling them using other methods, I had to remove the fonts manually from: /usr/share/fonts/X11/Type1

Thank you very much for the awesome support and the even better program which is Okular!