sumatrapdf icon indicating copy to clipboard operation
sumatrapdf copied to clipboard

Ability to zoom in to any size using the touchpad/ touchscreen

Open user1823 opened this issue 1 year ago • 3 comments

Currently, the documents can be zoomed in only to some specific sizes, i.e. the zoom jumps from one size to another. Other PDF readers allow any amount of zoom (by using the pinch gesture on the touchpad).

This is especially useful when I want to take a screenshot for which I want to fit the desired portion on the screen and also ensure that it is large enough to produce a screenshot with good resolution.

So, please add the ability to zoom in and out to any size.

user1823 avatar Dec 28 '23 15:12 user1823

Try Menu > Zoom > Custom Zoom

obrazek

misaz avatar Dec 29 '23 11:12 misaz

@user1823 To remove the zoom steps set ZoomIncrement = 0 option to an integer which is a % For example ZoomIncrement = 5 However that will NOT be 100 105 110 it will be current +- 5% so will be 100 105 116 122 Which is why there is a tabular approach you can edit as desired ZoomLevels = 8.33 10 20 30 40 .....

There are automatic entries for fitting and as described by @misaz the easiest is check current and rapidly adjust manually as desired so say 250 image image

GitHubRulesOK avatar Dec 29 '23 12:12 GitHubRulesOK

Thank you for the responses.

To remove the zoom steps set ZoomIncrement = 0 option to an integer which is a %

there is a tabular approach you can edit as desired ZoomLevels = 8.33 10 20 30 40 .....

Both of these make sense when using the zoom in and zoom out buttons. However, when using the touchpad (or touchscreen), I think that the app should allow smooth zoom (without jerks).

as described by @misaz the easiest is check current and rapidly adjust manually as desired so say 250

Yes, this is fast but not as fast as zooming in using the touchpad.

user1823 avatar Dec 29 '23 12:12 user1823

It already works this way when using touchscreen.

kjk avatar May 11 '24 01:05 kjk

It already works this way when using touchscreen.

Ok, but I don't have the hardware to test that.

It doesn't work that way using the touchpad and I thought that it would behave the same on a touchscreen because both use the pinch gesture.

user1823 avatar May 11 '24 09:05 user1823

Zoom by touch should be continuous in pre-release 16073 or later.

kjk avatar May 11 '24 15:05 kjk