[sane-devel] xsane zoom control

Henning Meier-Geinitz henning@meier-geinitz.de
Wed, 13 Feb 2002 19:38:10 +0100


Hi,

On Wed, Feb 13, 2002 at 06:35:50PM +1100, Ben Stanley wrote:
> I have a probelm with the zoom control in xsane. I wish to be able to 
> set it to numbers like 50% (0.5) and 90% (0.9), and even 95%, as I have 
> some originals which are just slightly larger than a piece of A4. 
> However, the zoom control as currently implemented seems to have a range 
> from 0.25 to 63.90, in steps of 0.39. This leaves me with copies which 
> sit in the middle of the page with lots of space around them (0.64), or 
> have their margins clipped (1.03). I gather that this is just a 
> limitation of the gtk++ control, as the zoom starts up at 1.00.

If I understood correctly, the maximum zoom factor comes from
scan_resolution/printer_resolution. For me its 8 (1200 dpi/150 dpi).
The minimum step with the mouse it 0.05 for me. So maybe your scanner
just has a high resolution?

However, with the cursor keys you should be able to select down to 0.01.

Bye,
  Henning