I would like to see zoom levels in increments of:
105%
110%
115%
120%
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]
You can do this, if you [a href=\"http://ShiroiKuma.com/index.php?cmd=%E7%9B%B8%E6%92%B2%E5%A4%96%EF%BC%9ACompiling%20xpdf-3.02%20under%20%C3%85ngstr%C3%B6m%20with%20custom%20zoom%20levels]compile xpdf on the Zaurus yourself[/url].
[div align=\"right\"][a href=\"index.php?act=findpost&pid=158056\"][{POST_SNAPBACK}][/a][/div]
following ShiroiKuma's example, do the following:
edit xpdf-3.02/xpdf/XPDFViewer.cc
Starting at line 141, you'll see the following text:
static ZoomMenuInfo zoomMenuInfo[nZoomMenuItems] = {
{ "400%", 400 },
{ "200%", 200 },
{ "150%", 150 },
{ "125%", 125 },
{ "100%", 100 },
{ "50%", 50 },
{ "25%", 25 },
{ "12.5%", 12.5 },
{ "fit page", zoomPage },
{ "fit width", zoomWidth }
};
change it to:
static ZoomMenuInfo zoomMenuInfo[nZoomMenuItems] = {
{ "400%", 400 },
{ "200%", 200 },
{ "150%", 150 },
{ "125%", 125 },
{ "120%", 120 },
{ "115%", 115 },
{ "110%", 110 },
{ "105%", 105 },
{ "100%", 100 },
{ "50%", 50 },
{ "25%", 25 },
{ "12.5%", 12.5 },
{ "fit page", zoomPage },
{ "fit width", zoomWidth }
};
edit xpdf-3.02/xpdf/XPDFViewer.h
and change
#define nZoomMenuItems 10
to
#define nZoomMenuItems 14