Package: xpdf
Severity: wishlist
Tags: upstream patch

Hi, Michael.

I just cooked a patch to let xpdf allow the user to choose a wider range
of zoom levels. BTW, if you want it, then I can create a git repository
on git.debian.org so that we can coordinate modifications to the
package.


Regards, Rogério Brito.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.34-rc6-00106-gd93ac51 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.utf-8, LC_CTYPE=pt_BR.utf-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xpdf depends on:
ii  poppler-utils [xpdf-utils]    0.12.4-1   PDF utilitites (based on libpopple
ii  xpdf-common                   3.02-2     Portable Document Format (PDF) sui
ii  xpdf-reader                   3.02-2     Portable Document Format (PDF) sui

xpdf recommends no packages.

xpdf suggests no packages.

-- 
Rogério Brito : rbr...@{ime.usp.br,gmail.com} : GPG key 1024D/7C2CAEB8
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br
Description: Allow more zoom levels
 Since I am constantly dealing with texts and designing fonts, I need
 to see their shapes in a lot of detail and 400% zoom is too little.
Author: Rogério Theodoro de Brito <rbr...@ime.usp.br>
Forwarded: no
Last-Update: 2010-05-06

--- xpdf-3.02.orig/xpdf/XPDFViewer.h
+++ xpdf-3.02/xpdf/XPDFViewer.h
@@ -41,7 +41,7 @@ class XPDFViewer;
 //------------------------------------------------------------------------
 
 // NB: this must match the defn of zoomMenuBtnInfo in XPDFViewer.cc
-#define nZoomMenuItems 11
+#define nZoomMenuItems 15
 
 //------------------------------------------------------------------------
 
--- xpdf-3.02.orig/xpdf/XPDFViewer.cc
+++ xpdf-3.02/xpdf/XPDFViewer.cc
@@ -141,6 +141,10 @@ struct ZoomMenuInfo {
 };
 
 static ZoomMenuInfo zoomMenuInfo[nZoomMenuItems] = {
+  { "1600%",     1600 },
+  { "1200%",     1200 },
+  { "800%",       800 },
+  { "600%",       600 },
   { "400%",       400 },
   { "200%",       200 },
   { "150%",       150 },

Reply via email to