Package: zathura
Version: 0.0.8.4-1
Severity: important
When I open a PDF file and select the top half of a page, the *bottom*
half of the page text lands in the clipboard instead.
Looking at the source code, it does:
#if !POPPLER_CHECK_VERSION(0,15,0)
#define poppler_page_get_selected_text poppler_page_get_text
#endif
which is wrong: poppler_page_get_selected_text has different semantics
than poppler_page_get_text used to have.
Quoting poppler commit[9] which introduced the new function:
“Users of poppler_page_get_text should:
- Use the new poppler_page_get_text() if they want the text of the whole
page
- Use poppler_page_get_selected_text() if they want the text of the
selected area. In this case they shouldn't invert the y coords anymore
before calling the method.”
[0]
http://cgit.freedesktop.org/poppler/poppler/commit/?id=b257428150e2c13dcc24fd8f75e4ee2c679ab41
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'experimental')
Architecture: i386 (x86_64)
Kernel: Linux 2.6.39-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages zathura depends on:
ii libc6 2.13-11 Embedded GNU C Library: Shared lib
ii libcairo2 1.10.2-6 The Cairo 2D vector graphics libra
ii libglib2.0-0 2.28.6-2 GLib library of C routines
ii libgtk2.0-0 2.24.5-3 GTK+ graphical user interface libr
ii libpango1.0-0 1.28.4-1 Layout and rendering of internatio
ii libpoppler-glib6 0.16.7-2 PDF rendering library (GLib-based
--
Jakub Wilk
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org