Bug 434901 - Wobbly fonts in a pdf document
Summary: Wobbly fonts in a pdf document
Status: RESOLVED UPSTREAM
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 20.12.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-24 18:55 UTC by Ivan Ivanov
Modified: 2021-03-24 21:29 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
problematic document (1.30 MB, application/pdf)
2021-03-24 18:55 UTC, Ivan Ivanov
Details
screenshot from Okular (277.04 KB, image/png)
2021-03-24 18:58 UTC, Ivan Ivanov
Details

Note You need to log in before you can comment on or make changes to this bug.
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.