You are not logged in.
Hi all,
I have had trouble viewing some pdf documents with zathura in dual mode for quite a while.
In particular, when a document contains a rotated page, then the spacing has a lot of gaps
between the other pages.
Example:
http://i.imgur.com/vsZ2VH2.jpg
While this gap may seem tolerable, on a big wide monitor it is particularly annoying when
I want to zoom in since then I cannot see big part of the document.
Note that this does not happen with other viewers, so it's not a problem of the document.
See for example how the same pdf looks in evince:
http://i.imgur.com/4lDYH9S.jpg
Also I had no problems with the built-in firefox pdf viewer.
(Here's a link to the pdf file.)
I opened a bug report for this a long time ago. A dev (I think) referred to me to another bug report
where the user solved this by updating girara. I do have the latest girara but the problem persists.
I haven't heard back for that again so I thought I'd shoot the question here. Is that a bug indeed or
am I missing something? Should I open another report on that site? I don't want to bug (no pun
intended) them again for no reason.
Thanks a lot in advance.
EDIT: forgot to include the versions I use.
$ pacman -Qn | grep 'zathura\|girara'
girara 0.2.6-3
zathura 0.3.6-3
zathura-djvu 0.2.5-2
zathura-pdf-poppler 0.2.6-2
zathura-ps 0.2.3-2
Last edited by geo909 (2016-10-25 16:13:26)
Offline
Same problem here, and after reding the source code I conclude that zathura uses the maximum width of all pages as width of each page, and the same holds for height. So this is actually not a bug, but a design flaw. In your pdf file, the rotated page is too wide, so its width is used as the width of each page.
Last edited by DrahcirNovY (2016-10-26 08:45:18)
Offline
Same problem here, and after reding the source code I conclude that zathura uses the maximum width of all pages as width of each page, and the same holds for height. So this is actually not a bug, but a design flaw. In your pdf file, the rotated page is too wide, so its width is used as the width of each page.
Thanks. I guess that would be fine if the pages were aligned properly in dual mode.
Maybe I'll open a ticket again.
Offline
I have a similar problem but not regarding rotation. There are pitch black bars around the document as illustrated on the screenshot below. It's slightly different but still persistent in the git version. I remember that about half a year ago those bars weren't black but had the same color as document background. So it shouldn't be a design flaw. Is there any hope that it will be fixed anytime soon?
Offline
I have a similar problem but not regarding rotation. There are pitch black bars around the document as illustrated on the screenshot below. It's slightly different but still persistent in the git version. I remember that about half a year ago those bars weren't black but had the same color as document background. So it shouldn't be a design flaw. Is there any hope that it will be fixed anytime soon?
https://www.upload.ee/thumb/6389986/161127_144210_Platinum.png
That's probably you, but there was a bug report just posted:
https://bugs.pwmt.org/project/zathura/issue/661
Offline
I made a fork from the original repo that fixed the problem for now. The fork makes sure all pages are the same size. https://github.com/ailrk/zathura
Last edited by Ailrk (2021-02-05 04:28:04)
Offline
I made a fork from the original repo that fixed the problem for now. The fork makes sure all pages are the same size. https://github.com/ailrk/zathura
This is how it looks like before:
With the fix:
Last edited by Ailrk (2021-02-05 04:27:46)
Offline