Package: xpdf
Version: 3.03-17+b1
Severity: wishlist
Tags: patch
File: /usr/bin/xpdf
It'd be good if the "+" and "-" keys on the keypad worked to zoom in and
out the same as the normal + and - keys do.
I get some joy from the change below, making the keypad + and -
identical to the normal + and -.
--- XPDFViewer.cc.orig 2014-08-04 10:03:11.889707904 +1000
+++ XPDFViewer.cc 2014-08-04 10:01:32.057705789 +1000
@@ -599,6 +599,13 @@
keyCode = xpdfKeyCodeDown;
} else if (key >= XK_F1 && key <= XK_F35) {
keyCode = xpdfKeyCodeF1 + (key - XK_F1);
+
+ /* zoom in/out by keypad +/- too */
+ } else if (key == XK_KP_Add) {
+ keyCode = '+';
+ } else if (key == XK_KP_Subtract) {
+ keyCode = '-';
+
} else {
return;
}
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (990, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 3.14-2-686-pae (SMP w/1 CPU core)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages xpdf depends on:
ii libc6 2.19-7
ii libgcc1 1:4.9.1-3
ii libpoppler46 0.26.3-1
ii libstdc++6 4.9.1-3
ii libx11-6 2:1.6.2-2
ii libxm4 2.3.4-5
ii libxt6 1:1.1.4-1
Versions of packages xpdf recommends:
pn cups-bsd <none>
ii gsfonts-x11 0.22
ii poppler-data 0.4.6-5
ii poppler-utils 0.26.3-1
xpdf suggests no packages.
-- no debconf information