pwmt / zathura

Document viewer
https://pwmt.org/projects/zathura
zlib License
1.86k stars 127 forks source link

Wrong page format for pdf documents with varying page formats #436

Open sebastinas opened 6 months ago

sebastinas commented 6 months ago

On GitLab by @patrickkurth on Dec 13, 2023, 09:29


When viewing a pdf that contains pages with different formats (for instance one page is in landscape), pages with the "wrong" formats are not fully displayed (parts of them are cut off). It seems like all pages have the same display format as the first page, but I'm unsure on this.

OS: Arch Linux

Zathura Version (--version):

zathura 0.5.4
girara 0.4.1 (runtime: 0.4.1)
(plugin) pdf-mupdf (0.4.1) (/usr/lib/zathura/libpdf-mupdf.so)
(plugin) ps (0.2.7) (/usr/lib/zathura/libps.so)

This happened after upgrading, and down-grading solves this. Full version after down-grading:

zathura 0.5.2
girara 0.3.9 (runtime: 0.4.1)
(plugin) pdf-mupdf (0.4.1) (/usr/lib/zathura/libpdf-mupdf.so)
(plugin) ps (0.2.7) (/usr/lib/zathura/libps.so)

This issue also occurs with the latest git version (which is also 0.5.4, not sure if they differ).

Here is an example pdf that reproduces the issue: drawing.pdf