Date: prev next · Thread: first prev next last
2018 Archives by date, by thread · List index


Hi

On 5 January 2018 at 06:35, Jon Nermut <jon.nermut@gmail.com> wrote:

Hi Jan,
I've added the UIScrollView into the mix - you can now scroll and zoom and
it's nicely re-rendering at higher res when zooming. It surprisingly good
for a first cut. Havent tried it on device yet.

One question - is there meant to be rendered page backgrounds/edges?
Currently the entire background is white, with no page edges, so the pages
kind of run into each other on a large doc.

My intention was to use the whole size for the text, to maximise that text
viewable, and thus no need for edges. However it would be nice if the
program has something like night settings as in iBook.


The glitchiness problem on the tile edges was a wrong hardcoded DPI
constant in salgdicommon.cxx:

-    rDPIX = rDPIY = 200; // FIXME
+    // This matches the default for VirtualDevice, and the calculations
+    // in the paint tile methods. (SwViewShell::PaintTile and elsewhere)
+    rDPIX = rDPIY = 96;

I will look into this as well


I was compensating for this with a scaling of 2.0, which isn't exactly
200/96, hence the small problems at the tile edges.

All good now, and fixing this meant less messing around with the scaling
etc.


As you might have seen, I have made several commits on master, solving the
libassuan issue as well as other issues you reported, I am right now
working on the dylib and solar mutex issues.

rgds
jan I

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.