Bug 434901

Summary: Wobbly fonts in a pdf document
Product: [Applications] okular Reporter: Ivan Ivanov <yoyotax>
Component: PDF backendAssignee: Okular developers <okular-devel>
Status: RESOLVED UPSTREAM    
Severity: normal CC: aacid, yurchor
Priority: NOR    
Version First Reported In: 20.12.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: problematic document
screenshot from Okular

Description Ivan Ivanov 2021-03-24 18:55:29 UTC
Created attachment 137037 [details]
problematic document

SUMMARY
Wobbly fonts observed in some pdf files when viewed in Okular (refer to the attached screenshot). Issue not present in Firefox pdf viewer or any other pdf viewer tested.

STEPS TO REPRODUCE
1. Open attached pdf file in Okular
2. Open attached pdf file in Firefox
3. Compare

OBSERVED RESULT
Wobbly fonts (refer to the attached screenshot).

EXPECTED RESULT
Normal font rendering.

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS
KDE Plasma Version: 5.21.3
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2
Kernel Version: 5.11.8-arch1-1
OS Type: 64-bit
Graphics Platform: X11
Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz
Memory: 7.7 ГиБ of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620

ADDITIONAL INFORMATION
Issue only observed with the attached file, which was composed of several pdf's all coming from the same source. All of those individual files had this issue present.
Comment 1 Ivan Ivanov 2021-03-24 18:58:15 UTC
Created attachment 137038 [details]
screenshot from Okular
Comment 2 Yuri Chornoivan 2021-03-24 19:34:15 UTC
I guess it's the poppler bug with Type 3 bitmap fonts.

https://gitlab.freedesktop.org/poppler/poppler/-/issues/981

The fonts look bad (or even worse) in Chromium/Chrome embedded reader as well.

These fonts are never intended to be used for reading from a screen. Please install cm-super package and regenerate the PDF with the modern LaTeX or print (as intended) then read it.
Comment 3 Albert Astals Cid 2021-03-24 21:29:59 UTC
okular doesn't do any pdf rendering, so not okular's fault.