[okular] [Bug 465055] All PDFs are shown stretched in y-axis

Andreas Henriksson bugzilla_noreply at kde.org
Wed Jan 22 17:45:28 GMT 2025


https://bugs.kde.org/show_bug.cgi?id=465055

Andreas Henriksson <sausageboy at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sausageboy at gmail.com

--- Comment #28 from Andreas Henriksson <sausageboy at gmail.com> ---
I have a similar problem. I added a debug print to `realDpi` and confirmed that
the screen size values there result in a non-square pixel aspect ratio. I also
found that `xrandr` can be used to check for this problem without having to
compile Okular:
    $ xrandr
    ...
    DisplayPort-2 connected primary 3440x1440+0+0 (normal left inverted right x
axis y axis) 809mm x 354mm
    ...

The ratios between pixel counts (3440/1440=2.3889) and reported physical size
(809/354=2.2853) are different, which makes documents render stretched.

Could you run `xrandr` and confirm that this is what's going on for you as
well?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list