<a href="Non-Sumou.html">Other Ångström tips</a></p>

<a href="ftp://ftp.foolabs.com/pub/xpdf/">Xpdf</a> by default only contains zoom levels of 100%, 125%, 150%, 200%, and 400%.</p>

You can change this and compile xpdf with your levels of zoom, subject to some limitations, in the following way.</p>

Edit xpdf-3.02/xpdf/XPDFViewer.cc</p>

Starting at line 141, you'll see the following text:</p>

static ZoomMenuInfo zoomMenuInfo[nZoomMenuItems] = { { &quot;400%&quot;, 400 }, { &quot;200%&quot;, 200 }, { &quot;150%&quot;, 150 }, { &quot;125%&quot;, 125 }, { &quot;100%&quot;, 100 }, { &quot;50%&quot;, 50 }, { &quot;25%&quot;, 25 }, { &quot;12.5%&quot;, 12.5 }, { &quot;fit page&quot;, zoomPage }, { &quot;fit width&quot;, zoomWidth } };</p>

Edit the list, and input the zoom levels, you desire. If increase the count of zoom levels, originally at 10, you have to also edit one more file, or compilation will fail with the error that the ZoomMenuItems number is too big. Therefore, just if you've increased the number of zoom levels, edit <strong>xpdf-3.02/xpdf/XPDFViewer.h</strong> and change<br /> <em>#define nZoomMenuItems 10</em><br /> to the number necessary.</p>

Then compile.</p>

When you run xpdf, you'll have then your custom zoom levels to choose from the menu in the application <!— Page published by Emacs Muse ends here —> </div> <i>To send me feedback about this page, use the below email.</i><br /> <b>&copy; sumoudou.org 2010</b><br /> <img style="border:0" alt="sumoudou.org" src="email.gif" width="129" height="10" /><br /> <a href="http://www.gnu.org/" style="text-decoration: none;"><img style="border:0" alt="GNU" src="powered-by-gnu.png" />]] <a href="http://www.gnu.org/software/emacs/emacs.html" style="text-decoration: none;"><img style="border:0" alt="GNU Emacs" src="made-with-emacs.png" />]] <a href="http://hcoop.net/" style="text-decoration: none;"><img style="border:0" alt="HCoop" src="hcoop-proud-member.png" />]] <a href="http://hcoop.net/" style="text-decoration: none;"><img style="border:0" alt="HCoop" src="hosted-by-hcoop.png" />]] <a href="http://mwolson.org/projects/EmacsMuse.html" style="text-decoration: none;"><img style="border:0" alt="Emacs Muse" src="made-with-muse.png" />]] <a href="http://mwolson.org/projects/EmacsMuse.html" style="text-decoration: none;"><img style="border:0" alt="Emacs Muse" src="powered-by-muse.png" />]] <br /> <a href="http://www.fsf.org/resources/formats/playogg" style="text-decoration: none;"><img style="border:0" alt="Ogg" src="play-ogg.png" />]] <a href="http://www.catb.org/hacker-emblem/" style="text-decoration: none;"><img style="border:0" alt="Glider" src="glider.png" />]] <a href="http://ubuntu.com/" style="text-decoration: none;"><img style="border:0" alt="Ubuntu" src="ubuntu.png" />]] <a href="http://validator.w3.org/check?uri=referer" style="text-decoration: none;"><img style="border:0" alt="Valid XHTML 1.0 Strict!" src="valid-xhtml10-blue.png" />]] <a href="http://jigsaw.w3.org/css-validator/check/referer" style="text-decoration: none;"><img style="border:0" alt="Valid CSS!" src="valid-css-blue.png" />]] <br />Last updated November 6, 2009

</div> <br />. </body> </html>

.