Poor print quality, in particular for .pdf documents
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).