zathura-pdf-mupdf issueshttps://git.pwmt.org/pwmt/zathura-pdf-mupdf/-/issues2018-10-04T10:45:44+02:00https://git.pwmt.org/pwmt/zathura-pdf-mupdf/-/issues/2Most pages from PDF "Effective Perl Programming" rendered poorly using zathur...2018-10-04T10:45:44+02:00Paulo Marcel Coelho AragãoMost pages from PDF "Effective Perl Programming" rendered poorly using zathura-pdf-mupdf plugin but correctly with mupdf itselfI've observed that most pages from PDF book **Effective Perl Programming** are rendered very poorly using plugin zathura-pdf-mupdf, for instance page 25:
![image](/uploads/3bac76b06ecefbe92fafe465cf94616e/image.png)
but they are rendered...I've observed that most pages from PDF book **Effective Perl Programming** are rendered very poorly using plugin zathura-pdf-mupdf, for instance page 25:
![image](/uploads/3bac76b06ecefbe92fafe465cf94616e/image.png)
but they are rendered correctly using mupdf itself:
![image](/uploads/1b1e0426cc8e8741cdb8470529126522/image.png)
This discrepancy puzzled me since I assumed that as both zathura and mupdf are using the same rendering backend, the results should be the same.
I'm built all software from source on Xubuntu 18.04: mupdf 1.13.0, zathura zathura@d7a0620e43dedc67c35b741abbef8d2f5f59cee4, pwmt/zathura-pdf-mupdf@1f51706.
Here's that particular page from the book:
[Export_Pages_Effective_Perl_Programming.pdf](/uploads/7a7a467d6e34ba1932c711876b55b60e/Export_Pages_Effective_Perl_Programming.pdf)
Not all pages are rendered poorly, but most pages after page 25. Here's the full book:
[Effective_Perl_Programming.pdf](/uploads/69d21e78b8bb4a7b7701187557fa8d70/Effective_Perl_Programming.pdf)
Let me know how I can help debug this further.https://git.pwmt.org/pwmt/zathura-pdf-mupdf/-/issues/1Some pages of some PDFs have a black background and poorly displayed text2018-10-04T20:42:21+02:00Adam IbrahimSome pages of some PDFs have a black background and poorly displayed textI'm not sure what's causing the problem, but I'm using
- Arch Linux
- Version 0.3.3-3 of the MuPDF plugin
- Version 0.4.0-4 of Zathura
I've seen this problem in two different PDFs, and the problem does not occur when I use the Poppler...I'm not sure what's causing the problem, but I'm using
- Arch Linux
- Version 0.3.3-3 of the MuPDF plugin
- Version 0.4.0-4 of Zathura
I've seen this problem in two different PDFs, and the problem does not occur when I use the Poppler PDF plugin, nor does it occur when I switched to a different PDF viewer (evince).
Here's an example of the problem:
![pic](/uploads/101d8cb0901420e55105927e90aab7d3/pic.png)
Here's what the same page SHOULD look like:
![better](/uploads/a653304ee1b84f59a156822ffc6b35c5/better.png)https://git.pwmt.org/pwmt/zathura-pdf-mupdf/-/issues/4--as-needed prevents linking of libmupdfthird.so2018-10-07T20:15:48+02:00Albert Ou--as-needed prevents linking of libmupdfthird.soMeson uses `-Wl,--as-needed` by default, which causes `zathura-pdf-mupdf` to not link against `libmupdfthird.so` since no symbol from that library is referenced directly.
However, `libmupdf.so` depends on `libmupdfthird.so` for symbols s...Meson uses `-Wl,--as-needed` by default, which causes `zathura-pdf-mupdf` to not link against `libmupdfthird.so` since no symbol from that library is referenced directly.
However, `libmupdf.so` depends on `libmupdfthird.so` for symbols such as `js_tointeger` (if configured with `#define FZ_ENABLE_JS 1`) but does not itself contain a `DT_NEEDED` tag for the latter.
While some distros (e.g., Gentoo) patch MuPDF to build these two libraries as one shared object, FreeBSD does not.
Certain symbols therefore remain unresolved at load time.
Proposed fix: aou/zathura-pdf-mupdf@a4e2cf5b
- FreeBSD 11.2-RELEASE
- graphics/zathura: 0.4.0_1
- graphics/zathura-pdf-mupdf: 0.3.3_1 ([poudriere build log](/uploads/7254580eec782b664812ddbb263e168c/zathura-pdf-mupdf-0.3.3_1.log))
- graphics/mupdf: 1.13.0_2,1 ([poudriere build log](/uploads/3fb46918f9ff7dc7edfb3a6cf7ee2781/mupdf-1.13.0_2_1.log))
```
$ zathura --version
error: Could not load plugin '/usr/local/lib/zathura/libpdf-mupdf.so' (/usr/local/lib/libmupdf.so.1.13.0: Undefined symbol "js_tointeger").
zathura 0.4.0
girara 0.3.1 (runtime: 0.3.1)
```
```
$ ldd /usr/local/lib/zathura/libpdf-mupdf.so
/usr/local/lib/zathura/libpdf-mupdf.so:
libgirara-gtk3.so.3 => /usr/local/lib/libgirara-gtk3.so.3 (0x801205000)
libcairo.so.2 => /usr/local/lib/libcairo.so.2 (0x801423000)
libglib-2.0.so.0 => /usr/local/lib/libglib-2.0.so.0 (0x801735000)
libmupdf.so.1.13.0 => /usr/local/lib/libmupdf.so.1.13.0 (0x801c00000)
libc.so.7 => /lib/libc.so.7 (0x800823000)
libm.so.5 => /lib/libm.so.5 (0x8048ef000)
libintl.so.8 => /usr/local/lib/libintl.so.8 (0x804b1c000)
libgtk-3.so.0 => /usr/local/lib/libgtk-3.so.0 (0x804e00000)
libgdk-3.so.0 => /usr/local/lib/libgdk-3.so.0 (0x8056d8000)
libpango-1.0.so.0 => /usr/local/lib/libpango-1.0.so.0 (0x80598e000)
libgio-2.0.so.0 => /usr/local/lib/libgio-2.0.so.0 (0x805bdc000)
libgobject-2.0.so.0 => /usr/local/lib/libgobject-2.0.so.0 (0x805f6f000)
libpixman-1.so.0 => /usr/local/lib/libpixman-1.so.0 (0x8061b9000)
libfontconfig.so.1 => /usr/local/lib/libfontconfig.so.1 (0x806483000)
libfreetype.so.6 => /usr/local/lib/libfreetype.so.6 (0x8066cb000)
libpng16.so.16 => /usr/local/lib/libpng16.so.16 (0x806983000)
libxcb-shm.so.0 => /usr/local/lib/libxcb-shm.so.0 (0x806bbe000)
libxcb.so.1 => /usr/local/lib/libxcb.so.1 (0x806dc0000)
libxcb-render.so.0 => /usr/local/lib/libxcb-render.so.0 (0x806fe6000)
libXrender.so.1 => /usr/local/lib/libXrender.so.1 (0x8071f3000)
libX11.so.6 => /usr/local/lib/libX11.so.6 (0x8073fc000)
libXext.so.6 => /usr/local/lib/libXext.so.6 (0x80773b000)
libz.so.6 => /lib/libz.so.6 (0x80794c000)
libiconv.so.2 => /usr/local/lib/libiconv.so.2 (0x807b64000)
libpcre.so.1 => /usr/local/lib/libpcre.so.1 (0x807e5f000)
libthr.so.3 => /lib/libthr.so.3 (0x8080fd000)
libharfbuzz.so.0 => /usr/local/lib/libharfbuzz.so.0 (0x808325000)
libjbig2dec.so.0 => /usr/local/lib/libjbig2dec.so.0 (0x8085be000)
libjpeg.so.8 => /usr/local/lib/libjpeg.so.8 (0x8087da000)
libopenjp2.so.7 => /usr/local/lib/libopenjp2.so.7 (0x808a6d000)
libXinerama.so.1 => /usr/local/lib/libXinerama.so.1 (0x808cc5000)
libXrandr.so.2 => /usr/local/lib/libXrandr.so.2 (0x808ec7000)
libXcursor.so.1 => /usr/local/lib/libXcursor.so.1 (0x8090d1000)
librt.so.1 => /usr/lib/librt.so.1 (0x8092dc000)
libgmodule-2.0.so.0 => /usr/local/lib/libgmodule-2.0.so.0 (0x8094e2000)
libpangocairo-1.0.so.0 => /usr/local/lib/libpangocairo-1.0.so.0 (0x8096e5000)
libXi.so.6 => /usr/local/lib/libXi.so.6 (0x8098f2000)
libXcomposite.so.1 => /usr/local/lib/libXcomposite.so.1 (0x809b00000)
libXdamage.so.1 => /usr/local/lib/libXdamage.so.1 (0x809d02000)
libXfixes.so.3 => /usr/local/lib/libXfixes.so.3 (0x809f04000)
libcairo-gobject.so.2 => /usr/local/lib/libcairo-gobject.so.2 (0x80a109000)
libgdk_pixbuf-2.0.so.0 => /usr/local/lib/libgdk_pixbuf-2.0.so.0 (0x80a311000)
libatk-1.0.so.0 => /usr/local/lib/libatk-1.0.so.0 (0x80a534000)
libatk-bridge-2.0.so.0 => /usr/local/lib/libatk-bridge-2.0.so.0 (0x80a75f000)
libepoxy.so.0 => /usr/local/lib/libepoxy.so.0 (0x80a98f000)
libpangoft2-1.0.so.0 => /usr/local/lib/libpangoft2-1.0.so.0 (0x80ac9e000)
libfribidi.so.0 => /usr/local/lib/libfribidi.so.0 (0x80aeb4000)
libffi.so.6 => /usr/local/lib/libffi.so.6 (0x80b0ca000)
libexpat.so.1 => /usr/local/lib/libexpat.so.1 (0x80b2d1000)
libbz2.so.4 => /usr/lib/libbz2.so.4 (0x80b4fb000)
libXau.so.6 => /usr/local/lib/libXau.so.6 (0x80b70f000)
libXdmcp.so.6 => /usr/local/lib/libXdmcp.so.6 (0x80b912000)
libgraphite2.so.3 => /usr/local/lib/libgraphite2.so.3 (0x80bb17000)
libdbus-1.so.3 => /usr/local/lib/libdbus-1.so.3 (0x80bd40000)
libatspi.so.0 => /usr/local/lib/libatspi.so.0 (0x80bf90000)
libdl.so.1 => /usr/lib/libdl.so.1 (0x80c1c1000)
libc++.so.1 => /usr/lib/libc++.so.1 (0x80c3c2000)
libcxxrt.so.1 => /lib/libcxxrt.so.1 (0x80c690000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x80c8af000)
libexecinfo.so.1 => /usr/lib/libexecinfo.so.1 (0x80cabe000)
libelf.so.2 => /lib/libelf.so.2 (0x80ccc1000)
```
```
$ ldd /usr/local/lib/libmupdf.so
/usr/local/lib/libmupdf.so:
libm.so.5 => /lib/libm.so.5 (0x803cef000)
libfreetype.so.6 => /usr/local/lib/libfreetype.so.6 (0x803f1c000)
libharfbuzz.so.0 => /usr/local/lib/libharfbuzz.so.0 (0x8041d4000)
libjbig2dec.so.0 => /usr/local/lib/libjbig2dec.so.0 (0x80446d000)
libjpeg.so.8 => /usr/local/lib/libjpeg.so.8 (0x804689000)
libopenjp2.so.7 => /usr/local/lib/libopenjp2.so.7 (0x80491c000)
libz.so.6 => /lib/libz.so.6 (0x804b74000)
libc.so.7 => /lib/libc.so.7 (0x800823000)
libbz2.so.4 => /usr/lib/libbz2.so.4 (0x804d8c000)
libglib-2.0.so.0 => /usr/local/lib/libglib-2.0.so.0 (0x804fa0000)
libintl.so.8 => /usr/local/lib/libintl.so.8 (0x8052b7000)
libgraphite2.so.3 => /usr/local/lib/libgraphite2.so.3 (0x8054c2000)
libthr.so.3 => /lib/libthr.so.3 (0x8056eb000)
libiconv.so.2 => /usr/local/lib/libiconv.so.2 (0x805913000)
libpcre.so.1 => /usr/local/lib/libpcre.so.1 (0x805c0e000)
libc++.so.1 => /usr/lib/libc++.so.1 (0x805eac000)
libcxxrt.so.1 => /lib/libcxxrt.so.1 (0x80617a000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x806399000)
```https://git.pwmt.org/pwmt/zathura-pdf-mupdf/-/issues/3segfault on fast scrolling with zathura-pdf-mupdf2018-11-27T23:23:08+01:00koniusegfault on fast scrolling with zathura-pdf-mupdfWhen fast scrolling through a PDF zathura crashes after a few pages fly past. It happens with any file. zathura et al freshly built from 'develop' branches, mupdf from 'master'.
Not a gdb whizz but got this backtrace:
```
Thread 5 (Thre...When fast scrolling through a PDF zathura crashes after a few pages fly past. It happens with any file. zathura et al freshly built from 'develop' branches, mupdf from 'master'.
Not a gdb whizz but got this backtrace:
```
Thread 5 (Thread 0xb2122b40 (LWP 7846)):
#0 0xb7f23ce9 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb6e40627 in syscall () at ../sysdeps/unix/sysv/linux/i386/syscall.S:29
No locals.
#2 0xb7105d1b in g_cond_wait_until () from /lib/i386-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#3 0xb70916ba in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#4 0xb7091e80 in g_async_queue_timeout_pop () from /lib/i386-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#5 0xb70e7308 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#6 0xb70e67aa in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#7 0xb6f1b27a in start_thread (arg=0xb2122b40) at pthread_create.c:333
__res = <optimized out>
pd = 0xb2122b40
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-1225592832, 0, 4001536, -1307434520, 277226228, -677328131}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0,
0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = 0
pagesize_m1 = <optimized out>
sp = <optimized out>
freesize = <optimized out>
__PRETTY_FUNCTION__ = "start_thread"
#8 0xb6e44b56 in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:110
No locals.
Thread 4 (Thread 0xb5fb3b40 (LWP 7843)):
#0 0xb7f23ce9 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb6e3ac5f in poll () at ../sysdeps/unix/syscall-template.S:84
No locals.
#2 0xb70ce180 in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#3 0xb70be71c in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#4 0xb70be854 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#5 0xb70be8b0 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#6 0xb70e67aa in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#7 0xb6f1b27a in start_thread (arg=0xb5fb3b40) at pthread_create.c:333
__res = <optimized out>
pd = 0xb5fb3b40
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-1225592832, 0, 4001536, -1241828888, -1029299461, -677328131}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0,
0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = 0
pagesize_m1 = <optimized out>
sp = <optimized out>
freesize = <optimized out>
__PRETTY_FUNCTION__ = "start_thread"
#8 0xb6e44b56 in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:110
No locals.
Thread 3 (Thread 0xb55ffb40 (LWP 7844)):
#0 0xb7f23ce9 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb6e3ac5f in poll () at ../sysdeps/unix/syscall-template.S:84
No locals.
#2 0xb70ce180 in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#3 0xb70be71c in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#4 0xb70beb39 in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#5 0xb72c9f05 in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
No symbol table info available.
#6 0xb70e67aa in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#7 0xb6f1b27a in start_thread (arg=0xb55ffb40) at pthread_create.c:333
__res = <optimized out>
pd = 0xb55ffb40
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-1225592832, 0, 4001536, -1252003352, -1960434950, -677328131}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0,
0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = 0
pagesize_m1 = <optimized out>
sp = <optimized out>
freesize = <optimized out>
__PRETTY_FUNCTION__ = "start_thread"
#8 0xb6e44b56 in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:110
No locals.
Thread 2 (Thread 0xb6234940 (LWP 7842)):
#0 0xb2550308 in pdf_run_TL () from /usr/lib/i386-linux-gnu/zathura/pdf.so
No symbol table info available.
#1 0xb251c471 in pdf_process_keyword () from /usr/lib/i386-linux-gnu/zathura/pdf.so
No symbol table info available.
#2 0xb251ccc4 in pdf_process_stream () from /usr/lib/i386-linux-gnu/zathura/pdf.so
No symbol table info available.
#3 0xb251d2b9 in pdf_process_contents () from /usr/lib/i386-linux-gnu/zathura/pdf.so
No symbol table info available.
#4 0xb2532569 in pdf_run_page_contents_with_usage () from /usr/lib/i386-linux-gnu/zathura/pdf.so
No symbol table info available.
#5 0xb2532a38 in pdf_run_page_contents () from /usr/lib/i386-linux-gnu/zathura/pdf.so
No symbol table info available.
#6 0xb243fade in fz_run_page_contents () from /usr/lib/i386-linux-gnu/zathura/pdf.so
No symbol table info available.
#7 0xb243fbf3 in fz_run_page () from /usr/lib/i386-linux-gnu/zathura/pdf.so
No symbol table info available.
#8 0xb2432b5e in mupdf_page_extract_text (mupdf_document=0x10bf580, mupdf_page=0x1161ae8) at utils.c:24
ctm = {a = 1, b = 0, c = 0, d = 1, e = 0, f = 0}
text_device = 0x10c1800
#9 0xb2432a39 in pdf_page_get_text (page=0x1161ac0, mupdf_page=0x1161ae8, rectangle=..., error=0x0) at select.c:24
document = <optimized out>
mupdf_document = <optimized out>
a = <optimized out>
b = <optimized out>
#10 0x00465e6b in zathura_page_get_text (page=0x1161ac0, rectangle=..., error=0x0) at ../zathura/page.c:344
plugin = 0x1036a68
functions = 0x1036a6c
#11 0x0046941b in cb_zathura_page_widget_button_release_event (widget=0xed5398, button=0x1047420) at ../zathura/page-widget.c:977
tmp = {x1 = -1.2410293385480127, y1 = -1.2410293385480127, x2 = 0, y2 = 0}
scale = 0.80578272321102928
text = 0xb6f21bba <__GI___pthread_getspecific+10> "\201\303", <incomplete sequence \324>
__func__ = "cb_zathura_page_widget_button_release_event"
oldx = 484
oldy = 510
priv = 0xed5278
document = 0x10aa300
scale = 0.80578272321102928
#12 0xb789b5f1 in ?? () from /usr/lib/i386-linux-gnu/libgtk-3.so.0
No symbol table info available.
#13 0xb71b2e5f in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
No symbol table info available.
#14 0xb71cd236 in g_signal_emit_valist () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
No symbol table info available.
#15 0xb71cded5 in g_signal_emit () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
No symbol table info available.
#16 0xb79f3187 in ?? () from /usr/lib/i386-linux-gnu/libgtk-3.so.0
No symbol table info available.
#17 0xb7897fb2 in ?? () from /usr/lib/i386-linux-gnu/libgtk-3.so.0
No symbol table info available.
#18 0xb789a4de in gtk_main_do_event () from /usr/lib/i386-linux-gnu/libgtk-3.so.0
No symbol table info available.
#19 0xb7597ea7 in ?? () from /usr/lib/i386-linux-gnu/libgdk-3.so.0
No symbol table info available.
#20 0xb75cae07 in ?? () from /usr/lib/i386-linux-gnu/libgdk-3.so.0
No symbol table info available.
#21 0xb70be4e9 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#22 0xb70be789 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#23 0xb70beb39 in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#24 0xb78993de in gtk_main () from /usr/lib/i386-linux-gnu/libgtk-3.so.0
No symbol table info available.
#25 0x0044fe30 in main (argc=2, argv=0xbf870bc4) at ../zathura/main.c:301
config_dir = 0x0
data_dir = 0x0
cache_dir = 0x0
plugin_path = 0x0
loglevel = 0x0
password = 0x0
synctex_editor = 0x0
synctex_fwd = 0x0
mode = 0x0
forkback = false
print_version = false
page_number = -2147483648
embed = 0
entries = {{long_name = 0x4764d3 "reparent", short_name = 101 'e', flags = 0, arg = G_OPTION_ARG_INT, arg_data = 0xbf870aa8,
description = 0x4764dc "Reparents to window specified by xid (X11)", arg_description = 0x476507 "xid"}, {long_name = 0x47650b "config-dir",
short_name = 99 'c', flags = 0, arg = G_OPTION_ARG_FILENAME, arg_data = 0xbf870acc, description = 0x476516 "Path to the config directory",
arg_description = 0x476533 "path"}, {long_name = 0x476538 "data-dir", short_name = 100 'd', flags = 0, arg = G_OPTION_ARG_FILENAME, arg_data = 0xbf870ac8,
description = 0x476541 "Path to the data directory", arg_description = 0x476533 "path"}, {long_name = 0x47655c "cache-dir", short_name = 0 '\000',
flags = 0, arg = G_OPTION_ARG_FILENAME, arg_data = 0xbf870ac4, description = 0x476566 "Path to the cache directory", arg_description = 0x476533 "path"}, {
long_name = 0x476582 "plugins-dir", short_name = 112 'p', flags = 0, arg = G_OPTION_ARG_STRING, arg_data = 0xbf870ac0,
description = 0x476590 "Path to the directories containing plugins", arg_description = 0x476533 "path"}, {long_name = 0x4765bb "fork",
short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0xbf870ab3, description = 0x4765c0 "Fork into the background", arg_description = 0x0},
{long_name = 0x4765d9 "password", short_name = 119 'w', flags = 0, arg = G_OPTION_ARG_STRING, arg_data = 0xbf870ab8,
description = 0x4765e2 "Document password", arg_description = 0x4765d9 "password"}, {long_name = 0x4765f4 "page", short_name = 80 'P', flags = 0,
arg = G_OPTION_ARG_INT, arg_data = 0xbf870aac, description = 0x4765f9 "Page number to go to", arg_description = 0x47660e "number"}, {
long_name = 0x476615 "log-level", short_name = 108 'l', flags = 0, arg = G_OPTION_ARG_STRING, arg_data = 0xbf870abc,
description = 0x476620 "Log level (debug, info, warning, error)", arg_description = 0x476648 "level"}, {long_name = 0x47664e "version",
short_name = 118 'v', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0xbf870ab2, description = 0x476656 "Print version information", arg_description = 0x0},
{long_name = 0x476670 "mode", short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_STRING, arg_data = 0xbf870ab4,
description = 0x476675 "Start in a non-default mode", arg_description = 0x476670 "mode"}, {long_name = 0x0, short_name = 0 '\000', flags = 0,
arg = G_OPTION_ARG_NONE, arg_data = 0x0, description = 0x0, arg_description = 0x0}}
context = 0xec0628
error = 0x0
__func__ = "main"
ret = 0
has_double_dash = false
file_idx_base = 1
file_idx = 1
zathura = 0xf0e4a0
Thread 1 (Thread 0xb17ffb40 (LWP 7847)):
#0 0xb2553020 in pdf_flush_text () from /usr/lib/i386-linux-gnu/zathura/pdf.so
No symbol table info available.
#1 0xb251c471 in pdf_process_keyword () from /usr/lib/i386-linux-gnu/zathura/pdf.so
No symbol table info available.
#2 0xb251ccc4 in pdf_process_stream () from /usr/lib/i386-linux-gnu/zathura/pdf.so
No symbol table info available.
#3 0xb251d2b9 in pdf_process_contents () from /usr/lib/i386-linux-gnu/zathura/pdf.so
No symbol table info available.
#4 0xb2532569 in pdf_run_page_contents_with_usage () from /usr/lib/i386-linux-gnu/zathura/pdf.so
No symbol table info available.
#5 0xb2532a38 in pdf_run_page_contents () from /usr/lib/i386-linux-gnu/zathura/pdf.so
No symbol table info available.
#6 0xb243fade in fz_run_page_contents () from /usr/lib/i386-linux-gnu/zathura/pdf.so
No symbol table info available.
#7 0xb243fbf3 in fz_run_page () from /usr/lib/i386-linux-gnu/zathura/pdf.so
No symbol table info available.
#8 0xb2432b5e in mupdf_page_extract_text (mupdf_document=0x10bf580, mupdf_page=0x1161ae8) at utils.c:24
ctm = {a = 1, b = 0, c = 0, d = 1, e = 0, f = 0}
text_device = 0x10c1800
#9 0xb2432a39 in pdf_page_get_text (page=0x1161ac0, mupdf_page=0x1161ae8, rectangle=..., error=0x0) at select.c:24
document = <optimized out>
mupdf_document = <optimized out>
a = <optimized out>
b = <optimized out>
#10 0x00465e6b in zathura_page_get_text (page=0x1161ac0, rectangle=..., error=0x0) at ../zathura/page.c:344
plugin = 0x1036a68
functions = 0x1036a6c
#11 0x0046941b in cb_zathura_page_widget_button_release_event (widget=0xed5398, button=0x1047420) at ../zathura/page-widget.c:977
tmp = {x1 = -1.2410293385480127, y1 = -1.2410293385480127, x2 = 0, y2 = 0}
scale = 0.80578272321102928
text = 0xb6f21bba <__GI___pthread_getspecific+10> "\201\303", <incomplete sequence \324>
__func__ = "cb_zathura_page_widget_button_release_event"
oldx = 484
oldy = 510
priv = 0xed5278
document = 0x10aa300
scale = 0.80578272321102928
#12 0xb789b5f1 in ?? () from /usr/lib/i386-linux-gnu/libgtk-3.so.0
No symbol table info available.
#13 0xb71b2e5f in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
No symbol table info available.
#14 0xb71cd236 in g_signal_emit_valist () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
No symbol table info available.
#15 0xb71cded5 in g_signal_emit () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
No symbol table info available.
#16 0xb79f3187 in ?? () from /usr/lib/i386-linux-gnu/libgtk-3.so.0
No symbol table info available.
#17 0xb7897fb2 in ?? () from /usr/lib/i386-linux-gnu/libgtk-3.so.0
No symbol table info available.
#18 0xb789a4de in gtk_main_do_event () from /usr/lib/i386-linux-gnu/libgtk-3.so.0
No symbol table info available.
#19 0xb7597ea7 in ?? () from /usr/lib/i386-linux-gnu/libgdk-3.so.0
No symbol table info available.
#20 0xb75cae07 in ?? () from /usr/lib/i386-linux-gnu/libgdk-3.so.0
No symbol table info available.
#21 0xb70be4e9 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#22 0xb70be789 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#23 0xb70beb39 in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#24 0xb78993de in gtk_main () from /usr/lib/i386-linux-gnu/libgtk-3.so.0
No symbol table info available.
#25 0x0044fe30 in main (argc=2, argv=0xbf870bc4) at ../zathura/main.c:301
config_dir = 0x0
data_dir = 0x0
cache_dir = 0x0
plugin_path = 0x0
loglevel = 0x0
password = 0x0
synctex_editor = 0x0
synctex_fwd = 0x0
mode = 0x0
forkback = false
print_version = false
page_number = -2147483648
embed = 0
entries = {{long_name = 0x4764d3 "reparent", short_name = 101 'e', flags = 0, arg = G_OPTION_ARG_INT, arg_data = 0xbf870aa8,
description = 0x4764dc "Reparents to window specified by xid (X11)", arg_description = 0x476507 "xid"}, {long_name = 0x47650b "config-dir",
short_name = 99 'c', flags = 0, arg = G_OPTION_ARG_FILENAME, arg_data = 0xbf870acc, description = 0x476516 "Path to the config directory",
arg_description = 0x476533 "path"}, {long_name = 0x476538 "data-dir", short_name = 100 'd', flags = 0, arg = G_OPTION_ARG_FILENAME, arg_data = 0xbf870ac8,
description = 0x476541 "Path to the data directory", arg_description = 0x476533 "path"}, {long_name = 0x47655c "cache-dir", short_name = 0 '\000',
flags = 0, arg = G_OPTION_ARG_FILENAME, arg_data = 0xbf870ac4, description = 0x476566 "Path to the cache directory", arg_description = 0x476533 "path"}, {
long_name = 0x476582 "plugins-dir", short_name = 112 'p', flags = 0, arg = G_OPTION_ARG_STRING, arg_data = 0xbf870ac0,
description = 0x476590 "Path to the directories containing plugins", arg_description = 0x476533 "path"}, {long_name = 0x4765bb "fork",
short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0xbf870ab3, description = 0x4765c0 "Fork into the background", arg_description = 0x0},
{long_name = 0x4765d9 "password", short_name = 119 'w', flags = 0, arg = G_OPTION_ARG_STRING, arg_data = 0xbf870ab8,
description = 0x4765e2 "Document password", arg_description = 0x4765d9 "password"}, {long_name = 0x4765f4 "page", short_name = 80 'P', flags = 0,
arg = G_OPTION_ARG_INT, arg_data = 0xbf870aac, description = 0x4765f9 "Page number to go to", arg_description = 0x47660e "number"}, {
long_name = 0x476615 "log-level", short_name = 108 'l', flags = 0, arg = G_OPTION_ARG_STRING, arg_data = 0xbf870abc,
description = 0x476620 "Log level (debug, info, warning, error)", arg_description = 0x476648 "level"}, {long_name = 0x47664e "version",
short_name = 118 'v', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0xbf870ab2, description = 0x476656 "Print version information", arg_description = 0x0},
{long_name = 0x476670 "mode", short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_STRING, arg_data = 0xbf870ab4,
description = 0x476675 "Start in a non-default mode", arg_description = 0x476670 "mode"}, {long_name = 0x0, short_name = 0 '\000', flags = 0,
arg = G_OPTION_ARG_NONE, arg_data = 0x0, description = 0x0, arg_description = 0x0}}
context = 0xec0628
error = 0x0
__func__ = "main"
ret = 0
has_double_dash = false
file_idx_base = 1
file_idx = 1
zathura = 0xf0e4a0
```
and the console output
```
debug: girara/template.c:319: base_changed(): Variable 'session' not set.
debug: ../zathura/plugin.c:275: register_plugin(): plugin: filetype mapping addded: application/pdf
debug: ../zathura/plugin.c:275: register_plugin(): plugin: filetype mapping addded: application/oxps
debug: ../zathura/plugin.c:275: register_plugin(): plugin: filetype mapping addded: application/epub+zip
debug: ../zathura/plugin.c:170: load_plugin(): Successfully loaded plugin from '/usr/lib/i386-linux-gnu/zathura/pdf.so'.
debug: ../zathura/plugin.c:173: load_plugin(): plugin pdf-mupdf: version 0.3.2
debug: girara/config.c:41: cb_window_icon(): Failed to load window icon (file): Failed to open file '/home/koniu/org.pwmt.zathura': No such file or directory
debug: girara/config.c:42: cb_window_icon(): Trying name instead.
debug: ../zathura/zathura.c:353: init_database(): Using plain database backend.
debug: ../zathura/zathura.c:197: zathura_update_view_ppi(): monitor width: 361 mm, pixels: 1366, ppi: 96.111911
debug: ../zathura/dbus-interface.c:110: bus_acquired(): Bus acquired at 'org.pwmt.zathura.PID-8719'.
debug: ../zathura/zathura.c:197: zathura_update_view_ppi(): monitor width: 361 mm, pixels: 1366, ppi: 96.111911
debug: ../zathura/dbus-interface.c:137: name_acquired(): Acquired 'org.pwmt.zathura.PID-8719' on session bus.
debug: ../zathura/zathura.c:197: zathura_update_view_ppi(): monitor width: 361 mm, pixels: 1366, ppi: 96.111911
debug: ../zathura/content-type.c:97: guess_type_magic(): magic detected filetype: application/pdf
debug: ../zathura/file-monitor.c:140: zathura_filemonitor_new(): using glib file monitor
debug: ../zathura/zathura.c:986: document_open(): starting file monitor
debug: ../zathura/zathura.c:197: zathura_update_view_ppi(): monitor width: 361 mm, pixels: 1366, ppi: 96.111911
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 0 to 596 x 731 (740.159973 x 906.960022).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 1 to 596 x 731 (740.159973 x 906.960022).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 2 to 596 x 731 (740.159973 x 906.960022).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 3 to 596 x 731 (740.159973 x 906.960022).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 4 to 596 x 731 (740.159973 x 906.960022).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 5 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 6 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 7 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 8 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 9 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 10 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 11 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 12 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 13 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 14 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 15 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 16 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 17 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 18 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 19 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 20 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 21 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 22 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 23 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 24 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 25 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 26 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 27 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 28 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 29 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 30 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 31 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 32 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 33 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 34 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 35 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 36 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 37 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 38 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 39 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 40 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 41 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 42 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 43 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 44 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 45 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 46 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 47 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 48 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 49 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 50 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 51 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 52 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 53 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 54 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 55 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 56 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 57 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 58 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 59 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 60 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 61 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 62 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 63 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 64 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 65 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 66 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 67 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 68 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 69 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 70 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 71 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 72 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 73 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 74 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 75 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 76 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 77 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 78 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 79 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 80 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 81 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 82 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 83 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 84 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 85 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 86 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 87 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 88 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 89 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 90 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 91 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 92 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 93 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 94 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 95 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 96 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 97 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 98 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 99 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 100 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 101 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 102 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 103 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 104 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 105 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 106 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 107 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 108 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 109 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 110 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 111 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 112 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 113 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 114 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 115 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 116 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 117 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 118 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 119 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 120 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 121 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 122 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 123 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 124 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 125 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 126 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 127 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 128 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 129 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 130 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 131 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 132 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 133 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 134 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 135 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 136 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 137 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 138 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 139 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 140 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 141 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 142 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 143 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 144 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 145 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 146 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 147 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 148 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 149 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 150 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 151 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 152 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 153 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 154 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 155 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 156 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 157 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 158 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 159 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 160 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 161 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 162 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 163 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 164 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 165 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 166 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 167 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 168 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 169 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 170 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 171 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 172 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 173 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 174 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 175 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 176 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 177 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 178 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 179 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 180 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 181 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 182 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 183 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 184 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 185 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 186 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 187 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 188 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 189 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 190 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 191 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 192 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 193 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 194 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 195 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 196 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 197 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 198 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 199 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 200 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 201 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 202 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 203 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 204 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 205 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 206 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 207 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 208 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 209 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 210 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 211 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 212 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 213 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 214 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 215 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 216 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 217 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 218 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 219 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 220 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 221 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 222 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 223 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 224 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 225 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 226 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 227 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 228 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 229 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 230 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 231 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 232 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 233 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 234 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 235 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 236 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 237 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 238 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 239 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 240 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 241 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 242 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 243 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 244 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 245 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 246 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 247 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 248 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 249 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 250 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 251 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 252 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 253 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 254 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 255 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 256 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 257 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 258 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 259 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 260 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 261 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 262 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 263 to 577 x 666 (716.159973 x 826.080017).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 264 to 596 x 728 (740.159973 x 903.359985).
debug: ../zathura/render.c:869: render_all(): Queuing resize for page 265 to 596 x 731 (740.159973 x 906.960022).
debug: ../zathura/callbacks.c:235: cb_widget_screen_changed(): called
debug: ../zathura/zathura.c:1131: document_open(): Failed to load bookmarks.
debug: ../zathura/jumplist.c:160: zathura_jumplist_load(): No jumplist for this file in the database yet
debug: ../zathura/render.c:917: page_cache_is_cached(): Page 1 is a cache miss
debug: ../zathura/render.c:1017: zathura_renderer_page_cache_add(): Page 1 is cached at cache index 0
debug: ../zathura/render.c:843: render_job(): Rendering page 2 ...
debug: ../zathura/render.c:843: render_job(): Rendering page 1 ...
debug: ../zathura/render.c:524: emit_completed_signal(): Emitting signal for page 2
debug: ../zathura/render.c:524: emit_completed_signal(): Emitting signal for page 1
debug: ../zathura/render.c:917: page_cache_is_cached(): Page 2 is a cache miss
debug: ../zathura/render.c:1017: zathura_renderer_page_cache_add(): Page 2 is cached at cache index 1
debug: ../zathura/render.c:843: render_job(): Rendering page 3 ...
debug: ../zathura/render.c:917: page_cache_is_cached(): Page 3 is a cache miss
debug: ../zathura/render.c:1017: zathura_renderer_page_cache_add(): Page 3 is cached at cache index 2
debug: ../zathura/render.c:917: page_cache_is_cached(): Page 4 is a cache miss
debug: ../zathura/render.c:1017: zathura_renderer_page_cache_add(): Page 4 is cached at cache index 3
debug: ../zathura/render.c:843: render_job(): Rendering page 4 ...
```
Btw, zathura+mupdf is fantastic and I'd love to get this to work so if you need any more information (core file?) to help debug this just ask!https://git.pwmt.org/pwmt/zathura-pdf-mupdf/-/issues/7Latex Hyperref color rendering inconsistency2018-12-23T15:20:20+01:00RijnderLatex Hyperref color rendering inconsistencyCurrently, the zathura mupdf backend displays certain link colors (e.g. citations) generated by hyperref+pdflatex wrong. Generating the links with xelatex rids of the problem. The rendering issue does not occur with the poppler backend, ...Currently, the zathura mupdf backend displays certain link colors (e.g. citations) generated by hyperref+pdflatex wrong. Generating the links with xelatex rids of the problem. The rendering issue does not occur with the poppler backend, okular, macOS preview and the mupdf binary application, so I'm quite sure there's something wrong with the mupdf backend. The problem occurs both when I build this library from source (I have tested the development branch paired with the newest libmupdf), and when I install it through pacman.
I've included a screenshot comparing okular versus zathura-mupdf rendering. (the issue is very odd as only one of the pages at maximum seems affected, the file shown in screenshot for example only has the color incoherency on the first page while the other pages are colored correctly)
![2018-12-23-1545572504](/uploads/58b6d992fbfc48bdbd2ae260d7c30632/2018-12-23-1545572504.png)
If needed, I could send over the PDF and .tex file(s) with the rendering issue.https://git.pwmt.org/pwmt/zathura-pdf-mupdf/-/issues/6zathua assertion fail opening PDF document2019-07-27T21:18:58+02:00Mihai Lazarescuzathua assertion fail opening PDF documentI have downloaded the PDF document from the top of this web page https://ieeexplore.ieee.org/abstract/document/7894201 (too big to attach).
When I attempt to open the PDF document with zathura, it crashes with the following log:
zathur...I have downloaded the PDF document from the top of this web page https://ieeexplore.ieee.org/abstract/document/7894201 (too big to attach).
When I attempt to open the PDF document with zathura, it crashes with the following log:
zathura 7894201.pdf
zathura: source/fitz/colorspace.c:1399: fast_rgb_to_cmyk: Assertion `"This should never happen" == NULL' failed.
Aborted (core dumped)
The document opens OK using evince.
Additional data
zathura --version
zathura 0.4.0
girara 0.3.0 (runtime: 0.3.0)
(plugin) cb (0.1.8) (/usr/lib64/zathura/libcb.so)
(plugin) djvu (0.2.8) (/usr/lib64/zathura/libdjvu.so)
(plugin) ps (0.2.6) (/usr/lib64/zathura/libps.so)
(plugin) pdf-mupdf (0.3.3) (/usr/lib64/zathura/libpdf-mupdf.so)
evince --version
GNOME Document Viewer 3.28.5https://git.pwmt.org/pwmt/zathura-pdf-mupdf/-/issues/8build fails against mupdf-git2019-08-11T18:49:05+02:00Julianbuild fails against mupdf-gitBuilding zathura-pdf-mupdf against a recent git checkout from mupdf (post 1.15.0 release) fails due to some code restructuring in mupdf.
http://git.ghostscript.com/?p=mupdf.git;a=commit;h=96a0000431be422c7ea4a6f8b1f207693e850ecf
http:/...Building zathura-pdf-mupdf against a recent git checkout from mupdf (post 1.15.0 release) fails due to some code restructuring in mupdf.
http://git.ghostscript.com/?p=mupdf.git;a=commit;h=96a0000431be422c7ea4a6f8b1f207693e850ecf
http://git.ghostscript.com/?p=mupdf.git;a=commit;h=821a0b2589e750318d2b2cd2a3232bc60d4bbe07
```
In file included from /usr/include/mupdf/fitz.h:11,
from ../zathura-pdf-mupdf/plugin.h:10,
from ../zathura-pdf-mupdf/search.c:7:
../zathura-pdf-mupdf/search.c: In function ‘pdf_page_search_text’:
../zathura-pdf-mupdf/search.c:42:23: error: expected expression before ‘)’ token
42 | fz_quad* hit_bbox = fz_malloc_array(mupdf_page->ctx, N_SEARCH_RESULTS, sizeof(fz_quad));
| ^~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.
```https://git.pwmt.org/pwmt/zathura-pdf-mupdf/-/issues/10Mupdf css style sheet support2019-10-07T01:06:41+02:00RijnderMupdf css style sheet supportMupdf allows you to change the general appearance of epubs through a custom css style sheet (see e.g. [relevant c file](https://github.com/ccxvii/mupdf/blob/master/source/html/css-apply.c), and page 43 of [this article on mupdf](https://...Mupdf allows you to change the general appearance of epubs through a custom css style sheet (see e.g. [relevant c file](https://github.com/ccxvii/mupdf/blob/master/source/html/css-apply.c), and page 43 of [this article on mupdf](https://ghostscript.com/~robin/mupdf_explored.pdf)). An other mupdf-based document reader that does this is [plato](https://github.com/baskerville/plato/blob/8901fe9725787f9eaa7e9ecadaee1a84058345e0/doc/GUIDE.md), which uses a file called `user.css` for this purpose.
I'm not super keen on the default look of epubs in Zathura. I have no idea how to change the font, and how to get rid of ugly header colors I sometimes see. It therefore might be beneficial to include support to change this via an zathura setting that points to a default `user.css` file.https://git.pwmt.org/pwmt/zathura-pdf-mupdf/-/issues/11build failed on ubuntu 20.o42020-05-07T20:42:25+02:00muralibuild failed on ubuntu 20.o4build failed with error :
log file attached:
[build.log](/uploads/60045aefea44c0f9fd60992b3607f855/build.log)build failed with error :
log file attached:
[build.log](/uploads/60045aefea44c0f9fd60992b3607f855/build.log)https://git.pwmt.org/pwmt/zathura-pdf-mupdf/-/issues/13Adobe has new features - some files won't open, even to read.2020-07-10T09:16:41+02:00Edward Ahlsen-GirardAdobe has new features - some files won't open, even to read.Certain PDFs (e.g., BSA Eagle Scout Service Project Workbook (attchd)[512-927_fillable.pdf](/uploads/ee0fee2f6a3ab66c9947854aaefc1d13/512-927_fillable.pdf)) won't open.
Message returned is:
```
Please wait...
If this message is not eve...Certain PDFs (e.g., BSA Eagle Scout Service Project Workbook (attchd)[512-927_fillable.pdf](/uploads/ee0fee2f6a3ab66c9947854aaefc1d13/512-927_fillable.pdf)) won't open.
Message returned is:
```
Please wait...
If this message is not eventually replaced by the proper contents of the document, your PDF
viewer may not be able to display this type of document.
You can upgrade to the latest version of Adobe Reader for Windows®, Mac, or Linux® by
visiting http://www.adobe.com/go/reader_download.
For more assistance with Adobe Reader visit http://www.adobe.com/go/acrreader.
Windows is either a registered trademark or a trademark of Microsoft Corporation in the United States and/or other countries. Mac is a trademark
of Apple Inc., registered in the United States and other countries. Linux is the registered trademark of Linus Torvalds in the U.S. and other
countries.
```https://git.pwmt.org/pwmt/zathura-pdf-mupdf/-/issues/15zathura does not display images correctly in epub format2020-07-20T14:38:48+02:00Matheus Dacach Machado Rocha Cardosozathura does not display images correctly in epub formatzathura does not display images correctly when the book is in epub format.
also tested with other epubs with varying results but still not displayed correctly.
converting the epub to pdf then displays the images correctly
this is how it...zathura does not display images correctly when the book is in epub format.
also tested with other epubs with varying results but still not displayed correctly.
converting the epub to pdf then displays the images correctly
this is how it is displayed:
![2020-07-19-204753_934x943_scrot](/uploads/dc66a555805200146248e906d6ddedbf/2020-07-19-204753_934x943_scrot.png)
how it should be: (now I have converted to pdf)
![2020-07-20-063649_784x785_scrot](/uploads/25a926a2f003e8f52932919bffd15c57/2020-07-20-063649_784x785_scrot.png)
I'm using zathura-pdf-mupdf as it is the only one that supports epubhttps://git.pwmt.org/pwmt/zathura-pdf-mupdf/-/issues/16cannot search pdf2020-09-08T13:04:45+02:00Tomare Omocannot search pdfIt is not possible to search words in certain PDF files, e.g. https://arxiv.org/abs/1905.00116
(while e.g. Chromium is able to do it).
local/zathura 0.4.5-1
Minimalistic document viewer
local/zathura-pdf-mupdf 0.3.5-2
PDF suppor...It is not possible to search words in certain PDF files, e.g. https://arxiv.org/abs/1905.00116
(while e.g. Chromium is able to do it).
local/zathura 0.4.5-1
Minimalistic document viewer
local/zathura-pdf-mupdf 0.3.5-2
PDF support for Zathura (MuPDF backend) (Supports PDF, ePub, and OpenXPS)https://git.pwmt.org/pwmt/zathura-pdf-mupdf/-/issues/17problem loading file when `set adjust-open "width"` is on2020-11-23T07:32:15+01:00Sayantan Santraproblem loading file when `set adjust-open "width"` is onMy `~/.config/zathura/zathurarc` looks like this:
```
set adjust-open "width"
set window-height 800
set window-width 1200
```
Whenever I open a new pdf, I get a rendering error. When I open it again, it works but the `set adjust-open "wi...My `~/.config/zathura/zathurarc` looks like this:
```
set adjust-open "width"
set window-height 800
set window-width 1200
```
Whenever I open a new pdf, I get a rendering error. When I open it again, it works but the `set adjust-open "width"` is not obeyed. I can set it to `fit-width` by pressign `s` though. The rendering error goes away if I comment out the line.
My system info is:
```
System:
Kernel: 4.19.144-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0
Desktop: KDE Plasma 5.19.5 tk: Qt 5.15.0 wm: kwin_x11 dm: GDM, SDDM
Distro: Manjaro Linux
Machine:
Type: Laptop System: HP product: HP Pavilion Laptop 14-bf1xx
v: Type1ProductConfigId serial: <filter> Chassis: type: 10
serial: <filter>
Mobo: HP model: 83CE v: 59.38 serial: <filter> UEFI: Insyde v: F.31
date: 10/30/2017
Battery:
ID-1: BAT1 charge: 19.0 Wh condition: 21.3/42.1 Wh (51%) volts: 13.2/11.6
model: Hewlett-Packard PABAS0241231 serial: <filter> status: Charging
CPU:
Topology: Quad Core model: Intel Core i7-8550U bits: 64 type: MT MCP
arch: Kaby Lake rev: A L2 cache: 8192 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
bogomips: 31872
Speed: 800 MHz min/max: 400/1800 MHz Core speeds (MHz): 1: 800 2: 800
3: 800 4: 800 5: 800 6: 800 7: 800 8: 800
Graphics:
Device-1: Intel UHD Graphics 620 vendor: Hewlett-Packard driver: i915
v: kernel bus ID: 00:02.0 chip ID: 8086:5917
Device-2: NVIDIA GM108M [GeForce 940MX] vendor: Hewlett-Packard
driver: nvidia v: 430.64 bus ID: 01:00.0 chip ID: 10de:134d
Device-3: Chicony HP Wide Vision HD Camera type: USB driver: uvcvideo
bus ID: 1-5:3 chip ID: 04f2:b5d6
Display: x11 server: X.Org 1.20.8 compositor: kwin_x11
driver: modesetting,nvidia resolution: 1920x1080~60Hz s-dpi: 115
OpenGL: renderer: GeForce 940MX/PCIe/SSE2 v: 4.6.0 NVIDIA 430.64
direct render: Yes
Audio:
Device-1: Intel Sunrise Point-LP HD Audio vendor: Hewlett-Packard
driver: snd_hda_intel v: kernel bus ID: 00:1f.3 chip ID: 8086:9d71
Sound Server: ALSA v: k4.19.144-1-MANJARO
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Hewlett-Packard driver: r8168 v: 8.048.03-NAPI port: 3000
bus ID: 02:00.0 chip ID: 10ec:8168
IF: eno1 state: down mac: <filter>
Device-2: Intel Wireless 7265 driver: iwlwifi v: kernel port: 3000
bus ID: 03:00.0 chip ID: 8086:095a
IF: wlo1 state: up mac: <filter>
Drives:
Local Storage: total: 1.03 TiB used: 524.57 GiB (49.9%)
ID-1: /dev/sda vendor: Seagate model: ST1000LM035-1RK172 size: 931.51 GiB
speed: 6.0 Gb/s serial: <filter>
ID-2: /dev/sdb vendor: SanDisk model: SD8SN8U-128G-1006 size: 119.24 GiB
speed: 6.0 Gb/s serial: <filter>
Partition:
ID-1: / size: 48.72 GiB used: 35.22 GiB (72.3%) fs: ext4 dev: /dev/sdb5
ID-2: /home size: 59.67 GiB used: 34.87 GiB (58.4%) fs: ext4
dev: /dev/sdb2
Swap:
ID-1: swap-1 type: partition size: 8.10 GiB used: 2.02 GiB (25.0%)
priority: -2 dev: /dev/sdb3
Sensors:
System Temperatures: cpu: 55.0 C mobo: 29.8 C gpu: nvidia temp: 56 C
Fan Speeds (RPM): N/A
Info:
Processes: 335 Uptime: 2d 2m Memory: 7.71 GiB used: 4.15 GiB (53.9%)
Init: systemd v: 246 Compilers: gcc: 10.2.0 Packages: 1866 pacman: 1865
flatpak: 1 Shell: fish v: 3.1.2 running in: server inxi: 3.1.05
```https://git.pwmt.org/pwmt/zathura-pdf-mupdf/-/issues/19[Archlinux] error : could not load plugin & error could not determine file type2020-12-21T10:07:00+01:00Pixead[Archlinux] error : could not load plugin & error could not determine file typeusing the package zathura-pdf-mupdf-0.3.6-3
When opening a document, I get the two following errors :
error: Could not load plugin '/usr/lib/zathura/libpdf-mupdf.so' (/usr/lib/zathura/libpdf-mupdf.so: undefined symbol: gumbo_destroy_o...using the package zathura-pdf-mupdf-0.3.6-3
When opening a document, I get the two following errors :
error: Could not load plugin '/usr/lib/zathura/libpdf-mupdf.so' (/usr/lib/zathura/libpdf-mupdf.so: undefined symbol: gumbo_destroy_output).
error: Could not determine file type.
downgrading to the package zathura-pdf-mupdf-0.3.6-2 fixes the issuehttps://git.pwmt.org/pwmt/zathura-pdf-mupdf/-/issues/20Could read some particular epub2021-02-18T16:59:11+01:00Mslxli@mslxl.comCould read some particular epubWhen opening a specific ePub file, Zathura can only display the cover page, the content is invisible, and the index also displays wrongly.
It is worth mentioning that this file can be opened with mupdf to display the content correctly, ...When opening a specific ePub file, Zathura can only display the cover page, the content is invisible, and the index also displays wrongly.
It is worth mentioning that this file can be opened with mupdf to display the content correctly, and calibre can correctly identify the contents and index.
| Zathura with zathura-pdf-mupdf | Mupdf | Calibre |
|:-:|:-:|:-:|
|![DeepinScreenshot_select-zathura](/uploads/12fdf960b0c252984eddaef9cdfd9226/DeepinScreenshot_select-zathura.png)|![DeepinScreenshot_select-mupdf](/uploads/e3eefdf17cf71fb67e4226f1c2ff7369/DeepinScreenshot_select-mupdf.png)|![DeepinScreenshot_select-calibre](/uploads/bed5ad025c04ddb0638068b795086e06/DeepinScreenshot_select-calibre.png)|
Below this the ePub file.
[Epub.epub](/uploads/b8c15e503b1f628e1ce19c25c70798de/Epub.epub)https://git.pwmt.org/pwmt/zathura-pdf-mupdf/-/issues/22Feature Request: mupdf plugin in Debian repository2021-05-05T12:09:47+02:00arcadioFeature Request: mupdf plugin in Debian repositoryThis actually is a feature request for viewing epub files on debian based systems without having to set up the plugin by the user.
According to [this,](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=731447) mupdf isn't stable enoug...This actually is a feature request for viewing epub files on debian based systems without having to set up the plugin by the user.
According to [this,](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=731447) mupdf isn't stable enough(?) But it's from 2017, hasn't things changed?https://git.pwmt.org/pwmt/zathura-pdf-mupdf/-/issues/23Zoom in &out in invert color mode results in zathura to "blink" when browsing...2021-06-12T08:03:22+02:00CorvoZoom in &out in invert color mode results in zathura to "blink" when browsing PDFWay to reproduce:
1. open some pdf
2. turn on invert color mode
3. zoom in/out
Expect behavour:
- Zathura can smoothly zoom in&out
Actual behavour:
- The page blinks once (i.e. turn to normal mode, then back to invert color mode)Way to reproduce:
1. open some pdf
2. turn on invert color mode
3. zoom in/out
Expect behavour:
- Zathura can smoothly zoom in&out
Actual behavour:
- The page blinks once (i.e. turn to normal mode, then back to invert color mode)https://git.pwmt.org/pwmt/zathura-pdf-mupdf/-/issues/18EPUB: following any link leads to page 02021-06-12T09:19:57+02:00PRESFILEPUB: following any link leads to page 0Maybe these are related problems zathura#187. I didn't think to check, but the links inside the EPUB don't work either. With the index running.
Debug mode (`zathura -l debug`) says that any link leads to page **0**, while zathura shows ...Maybe these are related problems zathura#187. I didn't think to check, but the links inside the EPUB don't work either. With the index running.
Debug mode (`zathura -l debug`) says that any link leads to page **0**, while zathura shows the page with the number 1, the first page in the document:
```
debug: ../zathura/zathura/links.c:253: zathura_link_evaluate(): Going to link destination: page: 0
```
`mupdf` handles this links correctly.
---
`zathura-git` version: `0.3.6.5.g7bc9112-1`
`zathura-pdf-mupdf-git` version: `0.4.7.7.g02a8877-1`
distribution: Manjarohttps://git.pwmt.org/pwmt/zathura-pdf-mupdf/-/issues/14[zathura-pdf-mupdf] Build fails compiling search.c2021-07-14T18:52:35+02:00Leo[zathura-pdf-mupdf] Build fails compiling search.cI'm on ubuntu 18.04 trying to build last zathura-pdf-mupdf using mupdf version 1.14.
it fails compiling search.c
```
[10/11] Compiling C object 'pdf-mupdf@sha/zathura-pdf-mupdf_search.c.o'
FAILED: pdf-mupdf@sha/zathura-pdf-mupdf_search...I'm on ubuntu 18.04 trying to build last zathura-pdf-mupdf using mupdf version 1.14.
it fails compiling search.c
```
[10/11] Compiling C object 'pdf-mupdf@sha/zathura-pdf-mupdf_search.c.o'
FAILED: pdf-mupdf@sha/zathura-pdf-mupdf_search.c.o
cc -Ipdf-mupdf@sha -I. -I.. -I/usr/include/json-c -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/local/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -g -fPIC -pthread -DVERSION_MAJOR=0 -DVERSION_MINOR=3 -DVERSION_REV=5 -D_DEFAULT_SOURCE -Wall -Wextra -pedantic -Werror=implicit-function-declaration -Werror=vla -fvisibility=hidden -MD -MQ 'pdf-mupdf@sha/zathura-pdf-mupdf_search.c.o' -MF 'pdf-mupdf@sha/zathura-pdf-mupdf_search.c.o.d' -o 'pdf-mupdf@sha/zathura-pdf-mupdf_search.c.o' -c ../zathura-pdf-mupdf/search.c
../zathura-pdf-mupdf/search.c: In function ‘pdf_page_search_text’:
../zathura-pdf-mupdf/search.c:42:74: error: expected expression before ‘fz_quad’
42 | fz_quad* hit_bbox = fz_malloc_array(mupdf_page->ctx, N_SEARCH_RESULTS, fz_quad);
| ^~~~~~~
ninja: build stopped: subcommand failed.
```
heres `meson build` output
```
The Meson build system
Version: 0.54.3
Source dir: /home/zerinol/fixo/source/zathura-pdf-mupdf
Build dir: /home/zerinol/fixo/source/zathura-pdf-mupdf/build
Build type: native build
Using 'PKG_CONFIG_PATH' from environment with value: '/usr/lib/x86_64-linux-gnu/pkgconfig'
Using 'PKG_CONFIG_PATH' from environment with value: '/usr/lib/x86_64-linux-gnu/pkgconfig'
Project name: zathura-pdf-mupdf
Project version: 0.3.5
C compiler for the host machine: cc (gcc 9.3.0 "cc (Ubuntu 9.3.0-11ubuntu0~18.04.1) 9.3.0")
C linker for the host machine: cc ld.bfd 2.30
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (0.29.1)
Using 'PKG_CONFIG_PATH' from environment with value: '/usr/lib/x86_64-linux-gnu/pkgconfig'
Run-time dependency zathura found: YES 0.4.5
Using 'PKG_CONFIG_PATH' from environment with value: '/usr/lib/x86_64-linux-gnu/pkgconfig'
Run-time dependency girara-gtk3 found: YES 0.3.4
Using 'PKG_CONFIG_PATH' from environment with value: '/usr/lib/x86_64-linux-gnu/pkgconfig'
Run-time dependency glib-2.0 found: YES 2.56.4
Using 'PKG_CONFIG_PATH' from environment with value: '/usr/lib/x86_64-linux-gnu/pkgconfig'
Run-time dependency cairo found: YES 1.15.10
Library mupdf found: YES
Library mupdf-third found: YES
Compiler for C supports arguments -Wall: YES
Compiler for C supports arguments -Wextra: YES
Compiler for C supports arguments -pedantic: YES
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
Build targets in project: 1
```https://git.pwmt.org/pwmt/zathura-pdf-mupdf/-/issues/24The "n" command jumping for search results does a weird centering strategy2021-10-14T06:57:47+02:00CorvoThe "n" command jumping for search results does a weird centering strategyWhen I press "n", here's what I got:
![image](/uploads/7b8fc5b6d33e91efcea9aad17764cc24/image.png)
Which doesn't center the keyword for me, but rather move the whole pdf to a border.When I press "n", here's what I got:
![image](/uploads/7b8fc5b6d33e91efcea9aad17764cc24/image.png)
Which doesn't center the keyword for me, but rather move the whole pdf to a border.