zathura issueshttps://git.pwmt.org/pwmt/zathura/-/issues2021-07-15T22:14:25+02:00https://git.pwmt.org/pwmt/zathura/-/issues/212[Feature Request] Best-fit mode adjusted according to statusbar toggling2021-07-15T22:14:25+02:00rv[Feature Request] Best-fit mode adjusted according to statusbar togglingHi,
when pressing `a` and viewing the page in best-fit mode part of the page gets covered by the statusbar (which can be removed, and the issue fixed, with `^n`). Could this be automated so the best-fit mode takes in account the space o...Hi,
when pressing `a` and viewing the page in best-fit mode part of the page gets covered by the statusbar (which can be removed, and the issue fixed, with `^n`). Could this be automated so the best-fit mode takes in account the space occupied by the statusbar and adjust its size to not get covered?
Sorry - and let me know - if I'm not being clear enough.
Thanks a lot in advance!, Zathura is amazing.https://git.pwmt.org/pwmt/zathura/-/issues/211Allow custom link colours2021-07-14T18:38:15+02:00AndrewAllow custom link coloursIt appears there is no property that allows user to customize colour of the links.
This leads to barely visible numbers in "Recolor" mode:
![07-Feb_15-30-48](/uploads/f2aa03a6c226fecd0a1af34db2edebf1/07-Feb_15-30-48.png)
Would it be p...It appears there is no property that allows user to customize colour of the links.
This leads to barely visible numbers in "Recolor" mode:
![07-Feb_15-30-48](/uploads/f2aa03a6c226fecd0a1af34db2edebf1/07-Feb_15-30-48.png)
Would it be possible to add something like `link-bg`/`link-fg` to zathurarc?https://git.pwmt.org/pwmt/zathura/-/issues/210Use g instead of gg by default2021-02-02T16:59:25+01:00Sahid VeljiUse g instead of gg by defaultI use `map g goto top` in my zathurarc, which allows me to hit `g` to go to the first page (instead of `gg`), or `ng` to go to the nth page (instead of `ngg` or `nG`). I suggest making this the default in zathura since no other key bindi...I use `map g goto top` in my zathurarc, which allows me to hit `g` to go to the first page (instead of `gg`), or `ng` to go to the nth page (instead of `ngg` or `nG`). I suggest making this the default in zathura since no other key binding starts with `g`.https://git.pwmt.org/pwmt/zathura/-/issues/209Lots of memory usage when zoomed in2024-02-27T16:05:28+01:00LuXuLots of memory usage when zoomed inWhen I open a document the memory usage is normally ~100MB. But if I zoom in to the maximum level, the memory usage goes above 2GB every time. It drops back to ~100MB if I zoom out to a normal level. So I guess that much memory are used ...When I open a document the memory usage is normally ~100MB. But if I zoom in to the maximum level, the memory usage goes above 2GB every time. It drops back to ~100MB if I zoom out to a normal level. So I guess that much memory are used to render an extremely zoomed in pdf page. I can reproduce this with almost every pdf document.
zathura version is 0.4.7https://git.pwmt.org/pwmt/zathura/-/issues/208undefined symbol: girara_command_run after ninja install2021-01-28T17:49:18+01:00Nikitaundefined symbol: girara_command_run after ninja install```
Linux user-Lenovo-ideapad-530S-14IKB 5.8.0-38-generic #43~20.04.1-Ubuntu SMP Tue Jan 12 16:39:47 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
```
I proceeded with next steps from README.md:
```
meson build
cd build
ninja
ninja install
```...```
Linux user-Lenovo-ideapad-530S-14IKB 5.8.0-38-generic #43~20.04.1-Ubuntu SMP Tue Jan 12 16:39:47 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
```
I proceeded with next steps from README.md:
```
meson build
cd build
ninja
ninja install
```
Meson build log:
```
➜ zathura git:(develop) meson --reconfigure build
The Meson build system
Version: 0.53.2
Source dir: /home/tej/zathura
Build dir: /home/tej/zathura/build
Build type: native build
Project name: zathura
Project version: 0.4.7
C compiler for the host machine: cc (gcc 9.3.0 "cc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0")
C linker for the host machine: cc ld.bfd 2.34
Host machine cpu family: x86_64
Host machine cpu: x86_64
Library m found: YES
Found pkg-config: /usr/bin/pkg-config (0.29.1)
Run-time dependency girara-gtk3 found: YES 0.3.5
Dependency glib-2.0 found: YES 2.64.3 (cached)
Dependency gio-unix-2.0 found: YES 2.64.3 (cached)
Dependency gthread-2.0 found: YES 2.64.3 (cached)
Dependency gmodule-no-export-2.0 found: YES 2.64.3 (cached)
Dependency gtk+-3.0 found: YES 3.24.20 (cached)
Dependency cairo found: YES 1.16.0 (cached)
Compiler for C supports arguments -Werror=implicit-function-declaration: YES
Compiler for C supports arguments -Werror=vla: YES
Compiler for C supports arguments -fvisibility=hidden: YES
Found CMake: /usr/bin/cmake (3.16.3)
Run-time dependency sqlite3 found: NO (tried pkgconfig and cmake)
Run-time dependency synctex found: NO (tried pkgconfig and cmake)
Library magic found: YES
Dependency libseccomp found: YES 2.4.3 (cached)
Configuring zathura-version.h using configuration
Found pkg-config: /usr/bin/pkg-config (0.29.1)
Program rsvg-convert found: NO
Program desktop-file-validate found: YES (/usr/bin/desktop-file-validate)
Program appstream-util found: NO
Configuring zathura using configuration
Configuring _zathura using configuration
Configuring zathura.fish using configuration
Dependency bash-completion found: YES 2.10 (cached)
Run-time dependency fish found: NO (tried pkgconfig and cmake)
Program sphinx-build found: NO
Run-time dependency check found: NO (tried pkgconfig and cmake)
Build targets in project: 9
Found ninja-1.10.0 at /usr/bin/ninja
Generating targets: 0%| | 0/9 [00 Writing build.ninja: 0%| | 0/72 [00
```
Ninja:
```
➜ build git:(develop) ninja
[34/34] Linking target zathura.
```
Installing log:
```
➜ build git:(develop) ninja install
[0/1] Installing files.
Installation failed due to insufficient permissions.
Attempting to use polkit to gain elevated privileges...
Installing subprojects/girara/libgirara-gtk3.so.3.1 to /usr/local/lib/x86_64-linux-gnu
Installing data/org.pwmt.zathura.desktop to /usr/local/share/applications
Installing data/org.pwmt.zathura.appdata.xml to /usr/local/share/metainfo
Installing zathura to /usr/local/bin
Installing /home/tej/zathura/subprojects/girara/girara/callbacks.h to /usr/local/include/girara
Installing /home/tej/zathura/subprojects/girara/girara/commands.h to /usr/local/include/girara
Installing /home/tej/zathura/subprojects/girara/girara/completion.h to /usr/local/include/girara
Installing /home/tej/zathura/subprojects/girara/girara/config.h to /usr/local/include/girara
Installing /home/tej/zathura/subprojects/girara/girara/datastructures.h to /usr/local/include/girara
Installing /home/tej/zathura/subprojects/girara/girara/entry.h to /usr/local/include/girara
Installing /home/tej/zathura/subprojects/girara/girara/girara.h to /usr/local/include/girara
Installing /home/tej/zathura/subprojects/girara/girara/input-history.h to /usr/local/include/girara
Installing /home/tej/zathura/subprojects/girara/girara/log.h to /usr/local/include/girara
Installing /home/tej/zathura/subprojects/girara/girara/macros.h to /usr/local/include/girara
Installing /home/tej/zathura/subprojects/girara/girara/session.h to /usr/local/include/girara
Installing /home/tej/zathura/subprojects/girara/girara/settings.h to /usr/local/include/girara
Installing /home/tej/zathura/subprojects/girara/girara/shortcuts.h to /usr/local/include/girara
Installing /home/tej/zathura/subprojects/girara/girara/statusbar.h to /usr/local/include/girara
Installing /home/tej/zathura/subprojects/girara/girara/template.h to /usr/local/include/girara
Installing /home/tej/zathura/subprojects/girara/girara/types.h to /usr/local/include/girara
Installing /home/tej/zathura/subprojects/girara/girara/utils.h to /usr/local/include/girara
Installing /home/tej/zathura/build/subprojects/girara/girara-version.h to /usr/local/include/girara
Installing /home/tej/zathura/zathura/document.h to /usr/local/include/zathura
Installing /home/tej/zathura/zathura/links.h to /usr/local/include/zathura
Installing /home/tej/zathura/zathura/macros.h to /usr/local/include/zathura
Installing /home/tej/zathura/zathura/page.h to /usr/local/include/zathura
Installing /home/tej/zathura/zathura/plugin-api.h to /usr/local/include/zathura
Installing /home/tej/zathura/zathura/types.h to /usr/local/include/zathura
Installing /home/tej/zathura/build/zathura-version.h to /usr/local/include/zathura
Installing /home/tej/zathura/build/meson-private/girara-gtk3.pc to /usr/local/lib/x86_64-linux-gnu/pkgconfig
Installing /home/tej/zathura/data/org.pwmt.zathura.xml to /usr/local/share/dbus-1/interfaces
Installing /home/tej/zathura/data/org.pwmt.zathura.svg to /usr/local/share/icons/hicolor/scalable/apps
Installing /home/tej/zathura/build/data/zathura to /usr/share/bash-completion/completions
Installing /home/tej/zathura/build/data/_zathura to /usr/local/share/zsh/site-functions
Installing /home/tej/zathura/build/data/zathura.fish to /usr/local/share/fish/vendor_completions.d
Installing /home/tej/zathura/build/meson-private/zathura.pc to /usr/local/lib/x86_64-linux-gnu/pkgconfig
Running custom install script '/usr/bin/meson --internal gettext install --subdir=subprojects/girara/po --localedir=share/locale --pkgname=libgirara-gtk3-3'
Installing /home/tej/zathura/build/subprojects/girara/po/ar.gmo to /usr/local/share/locale/ar/LC_MESSAGES/libgirara-gtk3-3.mo
Installing /home/tej/zathura/build/subprojects/girara/po/de.gmo to /usr/local/share/locale/de/LC_MESSAGES/libgirara-gtk3-3.mo
Installing /home/tej/zathura/build/subprojects/girara/po/el.gmo to /usr/local/share/locale/el/LC_MESSAGES/libgirara-gtk3-3.mo
Installing /home/tej/zathura/build/subprojects/girara/po/eo.gmo to /usr/local/share/locale/eo/LC_MESSAGES/libgirara-gtk3-3.mo
Installing /home/tej/zathura/build/subprojects/girara/po/es.gmo to /usr/local/share/locale/es/LC_MESSAGES/libgirara-gtk3-3.mo
Installing /home/tej/zathura/build/subprojects/girara/po/fa_IR.gmo to /usr/local/share/locale/fa_IR/LC_MESSAGES/libgirara-gtk3-3.mo
Installing /home/tej/zathura/build/subprojects/girara/po/fr.gmo to /usr/local/share/locale/fr/LC_MESSAGES/libgirara-gtk3-3.mo
Installing /home/tej/zathura/build/subprojects/girara/po/he.gmo to /usr/local/share/locale/he/LC_MESSAGES/libgirara-gtk3-3.mo
Installing /home/tej/zathura/build/subprojects/girara/po/it.gmo to /usr/local/share/locale/it/LC_MESSAGES/libgirara-gtk3-3.mo
Installing /home/tej/zathura/build/subprojects/girara/po/nl.gmo to /usr/local/share/locale/nl/LC_MESSAGES/libgirara-gtk3-3.mo
Installing /home/tej/zathura/build/subprojects/girara/po/pl.gmo to /usr/local/share/locale/pl/LC_MESSAGES/libgirara-gtk3-3.mo
Installing /home/tej/zathura/build/subprojects/girara/po/pt_BR.gmo to /usr/local/share/locale/pt_BR/LC_MESSAGES/libgirara-gtk3-3.mo
Installing /home/tej/zathura/build/subprojects/girara/po/ru.gmo to /usr/local/share/locale/ru/LC_MESSAGES/libgirara-gtk3-3.mo
Installing /home/tej/zathura/build/subprojects/girara/po/sv.gmo to /usr/local/share/locale/sv/LC_MESSAGES/libgirara-gtk3-3.mo
Installing /home/tej/zathura/build/subprojects/girara/po/tr.gmo to /usr/local/share/locale/tr/LC_MESSAGES/libgirara-gtk3-3.mo
Installing /home/tej/zathura/build/subprojects/girara/po/uk_UA.gmo to /usr/local/share/locale/uk_UA/LC_MESSAGES/libgirara-gtk3-3.mo
Running custom install script '/usr/bin/meson --internal gettext install --subdir=po --localedir=share/locale --pkgname=zathura'
Installing /home/tej/zathura/build/po/ar.gmo to /usr/local/share/locale/ar/LC_MESSAGES/zathura.mo
Installing /home/tej/zathura/build/po/ca.gmo to /usr/local/share/locale/ca/LC_MESSAGES/zathura.mo
Installing /home/tej/zathura/build/po/cs.gmo to /usr/local/share/locale/cs/LC_MESSAGES/zathura.mo
Installing /home/tej/zathura/build/po/de.gmo to /usr/local/share/locale/de/LC_MESSAGES/zathura.mo
Installing /home/tej/zathura/build/po/el.gmo to /usr/local/share/locale/el/LC_MESSAGES/zathura.mo
Installing /home/tej/zathura/build/po/eo.gmo to /usr/local/share/locale/eo/LC_MESSAGES/zathura.mo
Installing /home/tej/zathura/build/po/es.gmo to /usr/local/share/locale/es/LC_MESSAGES/zathura.mo
Installing /home/tej/zathura/build/po/es_CL.gmo to /usr/local/share/locale/es_CL/LC_MESSAGES/zathura.mo
Installing /home/tej/zathura/build/po/et.gmo to /usr/local/share/locale/et/LC_MESSAGES/zathura.mo
Installing /home/tej/zathura/build/po/fr.gmo to /usr/local/share/locale/fr/LC_MESSAGES/zathura.mo
Installing /home/tej/zathura/build/po/he.gmo to /usr/local/share/locale/he/LC_MESSAGES/zathura.mo
Installing /home/tej/zathura/build/po/hr.gmo to /usr/local/share/locale/hr/LC_MESSAGES/zathura.mo
Installing /home/tej/zathura/build/po/id_ID.gmo to /usr/local/share/locale/id_ID/LC_MESSAGES/zathura.mo
Installing /home/tej/zathura/build/po/it.gmo to /usr/local/share/locale/it/LC_MESSAGES/zathura.mo
Installing /home/tej/zathura/build/po/lt.gmo to /usr/local/share/locale/lt/LC_MESSAGES/zathura.mo
Installing /home/tej/zathura/build/po/nl.gmo to /usr/local/share/locale/nl/LC_MESSAGES/zathura.mo
Installing /home/tej/zathura/build/po/no.gmo to /usr/local/share/locale/no/LC_MESSAGES/zathura.mo
Installing /home/tej/zathura/build/po/pl.gmo to /usr/local/share/locale/pl/LC_MESSAGES/zathura.mo
Installing /home/tej/zathura/build/po/pt_BR.gmo to /usr/local/share/locale/pt_BR/LC_MESSAGES/zathura.mo
Installing /home/tej/zathura/build/po/ru.gmo to /usr/local/share/locale/ru/LC_MESSAGES/zathura.mo
Installing /home/tej/zathura/build/po/sv.gmo to /usr/local/share/locale/sv/LC_MESSAGES/zathura.mo
Installing /home/tej/zathura/build/po/ta_IN.gmo to /usr/local/share/locale/ta_IN/LC_MESSAGES/zathura.mo
Installing /home/tej/zathura/build/po/tr.gmo to /usr/local/share/locale/tr/LC_MESSAGES/zathura.mo
Installing /home/tej/zathura/build/po/uk_UA.gmo to /usr/local/share/locale/uk_UA/LC_MESSAGES/zathura.mo
```
After initiating zathura:
```
zathura: symbol lookup error: zathura: undefined symbol: girara_command_run
```https://git.pwmt.org/pwmt/zathura/-/issues/207Inconsistent zoom level across screens2022-08-20T19:45:12+02:00MazeInconsistent zoom level across screensZoom level changes when moving zathura window between screens.
This also happens if opening a document on one screen and later opening it on the other screen (if history database is enabled)
Video demonstration [HERE](https://f.mazie.r...Zoom level changes when moving zathura window between screens.
This also happens if opening a document on one screen and later opening it on the other screen (if history database is enabled)
Video demonstration [HERE](https://f.mazie.rocks/zathura_zoom_issue.webm)
System information:
- OS: Arch Linux 64-bit
- WM: AwesomeWM
- Zathura version: zathura 0.4.7; girara 0.3.5 (runtime: 0.3.5); (plugin) pdf-mupdf (0.3.6) (/usr/lib/zathura/libpdf-mupdf.so)
- I have not used a custom zathurarc.
- In the video, I used a custom awesomewm configuration, but I have also reproduced this issue on the default awesomewm configuration.
- output of `xrandr -q` [HERE](https://f.mazie.rocks/xrandr_report.txt)https://git.pwmt.org/pwmt/zathura/-/issues/206Remember zoom level and window size & position2021-02-10T15:11:08+01:00Dan DascalescuRemember zoom level and window size & positionI've just discovered Zathura via [this AskUbuntu question](https://askubuntu.com/questions/18495/what-pdf-viewers-are-available-for-ubuntu) - thanks for making it free!
I often open the same PDF, and by default the window is very small,...I've just discovered Zathura via [this AskUbuntu question](https://askubuntu.com/questions/18495/what-pdf-viewers-are-available-for-ubuntu) - thanks for making it free!
I often open the same PDF, and by default the window is very small, so I have to resize it and zoom in every time.
Is there a way to remember the window size and zoom factor?https://git.pwmt.org/pwmt/zathura/-/issues/205Missing markup escape in "Pattern not found: %s" message2022-01-05T18:02:05+01:00user202729Missing markup escape in "Pattern not found: %s" messageSource code location: https://git.pwmt.org/pwmt/zathura/-/blob/develop/zathura/shortcuts.c#L974
The user input there should be markup-escaped.Source code location: https://git.pwmt.org/pwmt/zathura/-/blob/develop/zathura/shortcuts.c#L974
The user input there should be markup-escaped.https://git.pwmt.org/pwmt/zathura/-/issues/204[Feature request] Hide mouse when using keyboard2021-01-12T07:13:53+01:00Daniel Falbo[Feature request] Hide mouse when using keyboardhttps://git.pwmt.org/pwmt/zathura/-/issues/203Changing how epub are rendered2023-03-22T13:43:09+01:00EcoChanging how epub are renderedIs there a way to change how zathura-pdf-mupdf renders epub files. Like changing justifications, margin, font family and font size, etc.Is there a way to change how zathura-pdf-mupdf renders epub files. Like changing justifications, margin, font family and font size, etc.https://git.pwmt.org/pwmt/zathura/-/issues/202Under GNOME Zathura maps my keys differently depending on the mode2021-02-09T22:51:10+01:00Horea ChristianUnder GNOME Zathura maps my keys differently depending on the modeI use zathura and have a Swiss German keyboard layout on two system. One of them uses Sway and the other GNOME. The one with Sway works just fine. On GNOME, however, the following happens:
In order to get into command mode `:` or search...I use zathura and have a Swiss German keyboard layout on two system. One of them uses Sway and the other GNOME. The one with Sway works just fine. On GNOME, however, the following happens:
In order to get into command mode `:` or search mode `/`, I need to press the keys where those characters would be on a US layout. Once I am in any input mode, however, the mapping works as expected (Swiss German) with no issues.
Unsure whether this is a Zathura or GNOME bug, or both, but I would appreciate any advice. Thanks :)https://git.pwmt.org/pwmt/zathura/-/issues/201Feature request: jumping to page label support2021-01-04T20:27:42+01:00Icughu5eFeature request: jumping to page label supportI have some books with page labels. For example, the page numbers on the book do not correspond to the page numbers of the PDF, and the PDF makers adds the page numbers on the book as page labels to the PDF.
I know the offset feature, b...I have some books with page labels. For example, the page numbers on the book do not correspond to the page numbers of the PDF, and the PDF makers adds the page numbers on the book as page labels to the PDF.
I know the offset feature, but this is sometimes insufficient: the page numbers of some books are unfortunately discontinuous. For example, the next page of 114 is 116. I cannot correct such kind of discrepancy by setting an offset.
I hope that I can jump to a page by inputting the page label.https://git.pwmt.org/pwmt/zathura/-/issues/200No "Page Handling" tab in printer setting window2021-06-04T08:41:17+02:00LuXuNo "Page Handling" tab in printer setting windowThere is a "auto resize and center" option in the "Page Handling" tab which would center the pdf if its aspect ratio is different from the paper, otherwise it defaults to top-left I think.
I can't achieve that option with zathura's prin...There is a "auto resize and center" option in the "Page Handling" tab which would center the pdf if its aspect ratio is different from the paper, otherwise it defaults to top-left I think.
I can't achieve that option with zathura's print dialog. Can this be supported? Or is there any workaround? Of source support it would be preferred :)
The printing dialog of evince/xreader
![Screenshot_2020-12-31_23-21-44](/uploads/64c718e7c07102006483d7d7fc66741c/Screenshot_2020-12-31_23-21-44.png)
The printing dialog of zathura
![Screenshot_2020-12-31_23-21-46](/uploads/330ed44b750a37a79b6de084edbb26e3/Screenshot_2020-12-31_23-21-46.png)https://git.pwmt.org/pwmt/zathura/-/issues/199[Feature Request] Link hint colors2021-07-14T18:25:42+02:00William Underwood[Feature Request] Link hint colorsIt would be helpful to be able to adjust the foreground color of the link hints in the config file, as they are not easily visible when using a dark background color.It would be helpful to be able to adjust the foreground color of the link hints in the config file, as they are not easily visible when using a dark background color.https://git.pwmt.org/pwmt/zathura/-/issues/198Usefulness of "tabbar" options ?2021-07-14T18:38:17+02:00Guilain ErnotteUsefulness of "tabbar" options ?I recently discover zathura and I enjoy using it.
After reading the documentation I found options for which I don't understand the purpose :
`tabbar-fg`, `tabbar-bg`, `tabbar-focus-fg` and `tabbar-focus-bg`.
This suggests to me that ta...I recently discover zathura and I enjoy using it.
After reading the documentation I found options for which I don't understand the purpose :
`tabbar-fg`, `tabbar-bg`, `tabbar-focus-fg` and `tabbar-focus-bg`.
This suggests to me that tabs functionnality is implemented, but after some research it seems that it is actually not the case.
Have I misunderstood something ?
Thank for developping this software ! :)https://git.pwmt.org/pwmt/zathura/-/issues/197[Feature Request] Copy link target2021-07-14T18:38:13+02:00Karel Král[Feature Request] Copy link targetThere are functions to follow a link target (f) or to display link target (F). But sometimes I do not want to open a link using my browser but rather write it down or to use wget with the link. So far I have been using display link follo...There are functions to follow a link target (f) or to display link target (F). But sometimes I do not want to open a link using my browser but rather write it down or to use wget with the link. So far I have been using display link followed by copying the displayed link. But a function to copy the link in the system clipboard would streamline this.
I would be interested in implementing this feature.https://git.pwmt.org/pwmt/zathura/-/issues/196Colors not changing2021-07-14T18:22:16+02:00willColors not changingSo I am trying to configure zathuras color scheme and it doesnt seem to be working, if I put the example in the man page `set default-fg "#CCBBCC"` in the zathurarc file I created (~/.config/zathura/zathurarc) then when I load a PDF in z...So I am trying to configure zathuras color scheme and it doesnt seem to be working, if I put the example in the man page `set default-fg "#CCBBCC"` in the zathurarc file I created (~/.config/zathura/zathurarc) then when I load a PDF in zathura it looks the same with no changes, I then tried with a more obvious color "#00ff00" and again nothing. Furthermore I tried doing it in zathura with `:set default-fg \#CCBBCC`, again to no change. After that I tried changing the colors then reloading the PDF and still no change. Oddly though, inverting the colors works with "CTRL + R".
For reference I'm using zathura installed from pacman on Arch linux (kernel 5.9.10), with window manager I3, theme "Sweet-Dark [GTK2/3]"
Also just as a mention, I get this Gtk warning when i launch zathura from command line, as i normally do
```
(zathura:103454): Gtk-WARNING **: 16:44:12.601: Theme parsing error: gtk.css:6329:10: 'height' is not a valid property name
(zathura:103454): Gtk-WARNING **: 16:44:12.626: Theme parsing error: gtk.css:6329:10: 'height' is not a valid property name
```https://git.pwmt.org/pwmt/zathura/-/issues/195Poor print quality, in particular for .pdf documents2021-07-14T18:32:02+02:00Manfred SauterPoor print quality, in particular for .pdf documentsI noticed that when printing .pdf documents using zathura the quality of the printout is significantly worse than when printing directly using lpr. The outline of all characters is jagged and pixelated. There is nothing special about my ...I noticed that when printing .pdf documents using zathura the quality of the printout is significantly worse than when printing directly using lpr. The outline of all characters is jagged and pixelated. There is nothing special about my .pdf documents (mostly generated with LaTeX, correct page sizes, embedded Type 1 fonts). I am using the zathura-pdf-mupdf on Arch Linux.
Looking at the code of the plugin and zathura itself, however, I am not surprised the print quality is bad. In the corresponding source file print.c in the zathura repository apparently simply a hack is used to “Render to a surface that is 5 times larger to workaround quality issues.” Apparently this hack does not perform well enough in general. Potentially this affects also other document types and plugins.
So this issue is basically a feature request to implement proper calculation of the required rendering output sizes to obtain a specific printout resolution. I suggest to ensure a printout resolution of at least 300 dpi by default. Ideally the desired printout resolution should be configurable (maybe via config or the printing dialog).https://git.pwmt.org/pwmt/zathura/-/issues/194Shortcut mapping is not general enough2021-02-09T22:50:58+01:00Ghost UserShortcut mapping is not general enoughI like Zathura, but I don't like vim bindings, so I tried to change all keys in zathurarc. But it doesn't seem to be easy or even possible, despite being called a 'highly customizable' document viewer.
For example, it seems that I can't...I like Zathura, but I don't like vim bindings, so I tried to change all keys in zathurarc. But it doesn't seem to be easy or even possible, despite being called a 'highly customizable' document viewer.
For example, it seems that I can't map keys like 'numpad plus'. I would like to define Ctrl+Plus and Ctrl+Minus for zooming (instead of the default Plus and Minus), but <C--> and <C-+> only works for non-numpad keys. Looking at the source code, it seems that I can only map keys within the ASCII range or in the predefined list (Tab, BackSpace etc.), but GDK_KEY_KP_Add is neither. Which means that not even the default keybindings are possible to be specified in zathurarc!
This one would be easy to fix: after failing to find a meaning in other ways, check gdk_keyval_from_name(), so e.g. "KP_Add" would be recognised as 'numpad plus'. (And then several items in the predefined list would be unneccessary.)
Another minor thing is that if I want to map Ctrl+F to search, the only way I found is "map <C-f> feedkeys /", but that assumes that I don't want to remap or unmap "/". And it also displays "/" in front of the search field, which is not relevant anymore.
I also wondered if there is any way to map e.g. Ctrl+G to 'goto' in the usual way, meaning that it would open an input field (like for searching), where I could type a page number, press enter, and it would go to that page. I only found the reversed (vim-like) way, e.g. '<number>G'.
The most general would be, of course, if the default shortcuts, instead of being hardcoded, would just be a default zathurarc file, so anyone could just easily change any shortcut they wish (and deleting the file would mean no shortcuts at all). This would also be good for documentation, as I tried but didn't find any usable example zathurarc file on the web, when I was unsure about the syntax described in the man.https://git.pwmt.org/pwmt/zathura/-/issues/193feature request: Access current page variable2022-08-20T19:44:17+02:00Thomas Dehaezefeature request: Access current page variableI would love to be able to access the page number (displayed at the bottom right) inside a script called from Zathura.
The natural way to do that would be, I guess, to set an environment variable called $CURRENTPAGE (for instance), just...I would love to be able to access the page number (displayed at the bottom right) inside a script called from Zathura.
The natural way to do that would be, I guess, to set an environment variable called $CURRENTPAGE (for instance), just like the $FILE is set.
I think this could open some nice extension scripts to be developed! (the one I am currently working on consists of extracting the current page as a new PDF file).
Would it be possible?
Thanks a lot!