homebrew-zathura icon indicating copy to clipboard operation
homebrew-zathura copied to clipboard

Viewing error on macOS 12

Open bhchiang opened this issue 3 years ago • 3 comments

I installed zathura with the following commands on macOS 12 (Beta):

image

But when I open any PDF, I run into the following error.

image

Any suggestions appreciated, thanks!

bhchiang avatar Sep 30 '21 03:09 bhchiang

This seems like an HiDPI scaling issue, as the titlebar is rendered correctly. I don't have macOS 12 yet, so I have no way to reproduce it.

Have you tried with the zathura-pdf-poppler plugin to see if it is a general issue or only with mupdf? You will need to remove the mupdf plugin first from the plugin dir: $(brew --prefix zathura)/lib/zathura/libpdf-mupdf.dylib.

Other things you could try:

  • install with --HEAD to include the latest development changes, maybe some issue is already fixed upstream
  • try exporting the GDK_SCALE variable to a value of 1 or 2

zegervdv avatar Oct 02 '21 09:10 zegervdv

@bryanhpchiang there may be a fix for this: you could try using a patched gtk3 library:

brew uninstall --ignore-dependencies gtk+3
brew install ttarhan/gtk-fix/gtk+3

See #83 for more info

zegervdv avatar Nov 12 '21 10:11 zegervdv

Hello, I am running into a similar problem, albeit with smaller gaps:

image

This issue persists across macOS 12 and 13, and also persists whether I use zathura-pdf-poppler or mupdf. Exporting GDK_SCALE to 1 or 2 does not solve the issue either.

Any help is appreciated, thank you.

@zegervdv

Edit: It looks like it was fixed by #108 or #109

cobcobs avatar Feb 04 '23 08:02 cobcobs