Created attachment 138507 [details] sample document Okular 21.04.1 Flatpak on Kubuntu focal (20.04.2, kernel 5.12) 64-bit does not render some parts of the attached PDF document. STEPS TO REPRODUCE Open attached document in Okular and another PDF viewer, e.g. Evince OBSERVED RESULT Evince renders the document properly Okular is not displaying the bold text and checkboxes SOFTWARE/OS VERSIONS Linux/KDE Plasma: Kubuntu 20.04.2 KDE Plasma Version: 5.18.5 KDE Frameworks Version: 5.68.0 Qt Version: 5.12.8 ADDITIONAL INFORMATION also affects Okular 1.10.0 deb on Kubuntu 20.04
Can you attach a screenshot of both okular and evince?
Created attachment 138519 [details] Okular
Created attachment 138520 [details] Evince
Works fine for me, guess there's something wrong in [k]ubuntu. If your distribution can run flatpaks, can you confirm that using https://flathub.org/apps/details/org.kde.okular works for you?
This flatpak version is one of the two Okular versions I tested, it does not work. The one from the Kubuntu backports PPA (http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu/pool/main/o/okular/okular_20.04.0-0ubuntu1~ubuntu20.04~ppa3_amd64.deb, says version 1.10.0 in the About dialog), does not work either.
i see you mentioned that originally, sorry. That's indeed surprising. Can you attach a screenshot of file->properties->fonts?
Created attachment 138523 [details] Fonts
(In reply to Albert Astals Cid from comment #6) > i see you mentioned that originally, sorry. no problem :-)
Yeah, uninstall that tex-gyre stuff, or fix your fontconfig configuration to give /usr/share/fonts/gsfonts/NimbusSans-Regular.otf when asking for an "Helvetica" font.
Created attachment 138524 [details] With Nimbus Sans for Helvetica
(In reply to Albert Astals Cid from comment #9) > Yeah, uninstall that tex-gyre stuff, or fix your fontconfig configuration to > give /usr/share/fonts/gsfonts/NimbusSans-Regular.otf when asking for an > "Helvetica" font. This didn't resolve the issue, please see attachment 138524 [details]
Interesting, is that with flatpak still?
(In reply to Albert Astals Cid from comment #12) > Interesting, is that with flatpak still? Yes, with Flatpak and deb versions, as before.
Ok, i'm out of ideas what may be wrong on your side that makes it not work :/
(In reply to Albert Astals Cid from comment #14) > Ok, i'm out of ideas what may be wrong on your side that makes it not work :/ Well, same here... Thanks a lot for trying though!
It seems the parts not rendered by Okular are not using Helvetica but the embedded subset of DejaVuSans/DejaVuSans-Bold
Renders nicely in Okular version 22.12.3 (Kubuntu 22.10, Plasma 5.27.3, KDE Fraeworks 5.104.0, Qt 5.15.6, X11))