Okular slightly stretches some PDFs. Does anyone else experience this?

@skyfishgoo, yeah, KRuler [1] works on Wayland. [2] Thanks! This has allowed me to rudimentarily confirm - I see exactly 446 px in Firefox [3] and Chrome [4] at 100%, but > 450 px in Okular’s [5] equivalent size of 110%:

Examples

  1. google-chrome-canary-136.0.7073.0-1.x86_64

  2. firefox-136.0.1-1.fc41.x86_64

  3. okular-24.12.3-1.fc41.x86_64

    And, yes, it needs to be at 110% in Okular to render equivalently:

Firefox’s [3:1] PDFJS implementation is more pixel-perfect, but it still equates to the same amount of pixels for it and Chrome’s, [4:1] despite Okular [5:1] appearing to delegate to Chromium’s PDFJS implementation for this too, considering it:

  1. …suffers from the same, and because:
  2. I presume it utilises QtWebEngine.

How weird. I’ll estimate that this is a bug.


  1. kruler-24.12.3-1.fc41.x86_64 ↩︎

  2. $Env:XDG_SESSION_TYPE='wayland' ↩︎

  3. firefox-136.0.1-1.fc41.x86_64 ↩︎ ↩︎

  4. google-chrome-canary-136.0.7073.0-1.x86_64 ↩︎ ↩︎

  5. okular-24.12.3-1.fc41.x86_64 ↩︎ ↩︎