We have moved to a new Sailfish OS Forum. Please start new discussions there.

unlimited zoom needed in document viewer [released]

asked 2013-12-25 21:56:34 +0300

ortylp gravatar image

updated 2016-10-24 15:45:58 +0300

Jolla app "documents": the zoom level in PDF document is limited.

Use case: I have technical drawing in PDF for original size A2. I need to zoom in to see some details on the phone. The maximum zoom level did not allow me to come even close to the readability I needed.

Update 18.03.2014: Issue not fixed in yet.

Update 24.10.2016: released in 2.0.4.x.

edit retag flag offensive reopen delete

The question has been closed for the following reason "released in a software update" by Damien Caliste
close date 2016-10-24 15:45:15.606309



The maximum zoom level also depends on which way phone is oriented. Max zoom is greater when phone is in landscape than in portrait. More zoom please!

Jolla095 ( 2014-01-24 22:48:51 +0300 )edit

2 Answers

Sort by » oldest newest most voted

answered 2016-04-19 22:38:04 +0300

I've coded a partial page rendering for PDF documents in Sailfish Office application: https://github.com/sailfishos/sailfish-office/pull/55 that has been accepted yesterday upstream (thanks to P. Vuorella for the help and review).

It allows to zoom in (theoreticaly) without limit by rendering only (a bit more than) the visible portion of the document. A soft limit has been put to x10. But it can be changed via a dconf key named "/apps/sailfish-office/settings/maxZoomLevel".

So hopefully this request is fullfilled and will land in a public release soon.

edit flag offensive delete publish link more


Thank you. The right place for a fix would be the viwer though. I don't get why this is such an issue.

marsch ( 2016-09-24 15:21:47 +0300 )edit

You're welcome. PDF files are vector graphics and can be rendered at whatever resolution, I think you know. So when zooming in, there is the option to interpolate a low resolution view, but this is not very beautiful or even useful if the view is all pixelated. The other option is to ask the PDF engine to render the page at a higher resolution. Let say that the page in 1280x720 is zoom 1x. So in 10x, it would mean a texture of 100 times this size. That's of course not feasible from a memory point of view. Thus the slightly more complex implementation that just zooming in in the viewer. At least, that what I think. But it would be nice to have a simpler implementation.

Damien Caliste ( 2016-09-24 20:01:48 +0300 )edit

answered 2013-12-28 09:40:48 +0300

ortylp gravatar image

Until the issue gets fixed there is DocumentViewer in F-Droid repo. It does not have this kind of limitation and is MUCH faster.

edit flag offensive delete publish link more

Question tools



Asked: 2013-12-25 21:56:34 +0300

Seen: 450 times

Last updated: Oct 24 '16