zegervdv / homebrew-zathura

Homebrew formulae to build Zathura on Mac OS X
538 stars 41 forks source link

Viewing error on macOS 12 #81

Open bhchiang opened 2 years ago

bhchiang commented 2 years ago

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!

zegervdv commented 2 years ago

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:

zegervdv commented 2 years ago

@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

cobcobs commented 1 year ago

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