Bug 484966

Summary: No anti-aliasing on rotated image
Product: [Applications] okular Reporter: Tobias Bora <tobias.bora>
Component: PDF backendAssignee: Okular developers <okular-devel>
Status: REPORTED ---    
Severity: normal CC: tobias.bora
Priority: NOR    
Version First Reported In: 23.08.5   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Pdf that showcases the bug
Comparison of firefox rendering (above) vs okular (below)

Description Tobias Bora 2024-04-03 09:52:48 UTC
Created attachment 168086 [details]
Pdf that showcases the bug

SUMMARY

If I render a pdf file with a rotated image (produced via a simple \includegraphics[width=.6\paperwidth,angle=-10]{images/avantage_dwave.png}), the image is not aliased correctly, despite anti-aliasing being enabled in configuration > performances. The same pdf prints just fine in firefox.

STEPS TO REPRODUCE
1. Open the attached pdf

OBSERVED RESULT

Observe ugly staircase-like pattern in lines

EXPECTED RESULT

This should be aliased like in Firefox

SOFTWARE/OS VERSIONS

Operating System: NixOS 24.05
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.12
Kernel Version: 6.1.80 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i5-8365U CPU @ 1.60GHz
Memory: 15.5 Gio of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620

ADDITIONAL INFORMATION
Comment 1 Tobias Bora 2024-04-03 09:55:51 UTC
Created attachment 168087 [details]
Comparison of firefox rendering (above) vs okular (below)

Here is a screenshot showcasing the issue, comparing with the good result of firefox. You can for instance consider the blue line below "Les + lus", but also the ugly line pattern in the title, the hard-to-read text etc.