Bug 484966 - No anti-aliasing on rotated image
Summary: No anti-aliasing on rotated image
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 23.08.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-03 09:52 UTC by Tobias Bora
Modified: 2024-04-03 09:55 UTC (History)
1 user (show)

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


Attachments
Pdf that showcases the bug (385.99 KB, application/pdf)
2024-04-03 09:52 UTC, Tobias Bora
Details
Comparison of firefox rendering (above) vs okular (below) (498.66 KB, image/png)
2024-04-03 09:55 UTC, Tobias Bora
Details

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