pwmt / zathura-pdf-mupdf

PDF support (mupdf backend) for zathura
zlib License
76 stars 17 forks source link

zathura with mupdf backend cannot load html src images #78

Open h9j6k opened 3 weeks ago

h9j6k commented 3 weeks ago

Hello,

Thanks for your great work!

I compiled zathura with mupdf backend on debian 12. With mupdf-gl/x11, epub books can be loaded without problems except for the epub 3.0 warning, pictures are shown. However with zathura-mupdf, images are not shown. Error log is attached.

$ zathura The\ Secret\ Lives\ of\ Numbers.epub 
info: Opening plain database via sqlite backend.
info: No plain database available. Continuing with sqlite database.
warning: unknown epub version: 3.0
warning: html: cannot load image src='../images/9780063206076_Cover.jpg'
warning: html: cannot load image src='../images/tit.jpg'
warning: html: cannot load image src='../images/rt2.jpg'
warning: html: cannot load image src='../images/f002-01.jpg'
warning: html: cannot load image src='../images/f007-01.jpg'
warning: html: cannot load image src='../images/f010-01.jpg'
...

Any ideas how can I compile zathura to fix this?

Thanks.

sebastinas commented 1 week ago

We'll probably need an epub to reproduce and fix this. As always with the mupdf plugin, help is greatly appreciated.

h9j6k commented 17 hours ago

We'll probably need an epub to reproduce and fix this. As always with the mupdf plugin, help is greatly appreciated.

Can you try the epub file attached? (Just changed extention zip <--> epub) It will produce an error saying epub 3.0 something and cannot load src image. The original epub I used in the first post is too big to upload here.
Kairos.en.zip