Package: mupdf
Version: 1.5-1
Followup-For: Bug #769282

Attached patch fixes the problem.

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'oldstable-updates'), (500, 'unstable'), 
(500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.16-3-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=ANSI_X3.4-1968) 
(ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash

Versions of packages mupdf depends on:
ii  libc6            2.19-13
ii  libfreetype6     2.5.2-2
ii  libjbig2dec0     0.11+20120125-1
ii  libjpeg62-turbo  1:1.3.1-10
ii  libopenjp2-7     2.1.0-2
ii  libssl1.0.0      1.0.1j-1
ii  libx11-6         2:1.6.2-3
ii  libxext6         2:1.3.3-1
ii  zlib1g           1:1.2.8.dfsg-2+b1

mupdf recommends no packages.

Versions of packages mupdf suggests:
ii  mupdf-tools  1.5-1+b2

-- no debconf information
Index: mupdf-1.5/platform/x11/pdfapp.h
===================================================================
--- mupdf-1.5.orig/platform/x11/pdfapp.h
+++ mupdf-1.5/platform/x11/pdfapp.h
@@ -12,7 +12,7 @@
 
 /* 25% .. 400% */
 #define MINRES 18
-#define MAXRES 288
+#define MAXRES 576
 
 typedef struct pdfapp_s pdfapp_t;
 
Index: mupdf-1.5/platform/x11/pdfapp.c
===================================================================
--- mupdf-1.5.orig/platform/x11/pdfapp.c
+++ mupdf-1.5/platform/x11/pdfapp.c
@@ -28,7 +28,7 @@ enum
 static void pdfapp_showpage(pdfapp_t *app, int loadpage, int drawpage, int repaint, int transition, int searching);
 static void pdfapp_updatepage(pdfapp_t *app);
 
-static const int zoomlist[] = { 18, 24, 36, 54, 72, 96, 120, 144, 180, 216, 288 };
+static const int zoomlist[] = { 18, 24, 36, 54, 72, 96, 120, 144, 180, 216, 288, 360, 480, 576 };
 
 static int zoom_in(int oldres)
 {

Reply via email to