Comment 6 for bug 1339308

Revision history for this message
Adam Reichold (adamreichold) wrote : Re: [Bug 1339308] Re: View with cropped margins

Hello again,

Am 18.08.2014 um 11:56 schrieb Siep Kroonenberg:
> On Sun, Aug 17, 2014 at 03:44:52PM -0000, Adam Reichold wrote:
>> Hhhmmm, the caching should now work correctly, but there are at least
>> one critical issue: The fit-to-something scale modes can lead to
>> continuous adjustments because the crop box updates the apparent size of
>> the pages which then can change the crop box...
>>
>> Not sure how to prevent this, for one thing one could make the crop box
>> independent of the current transformation and calculate it only once.
>> But the necessary adjustments when changing the transformations together
>> with tiling seem quite complicated to me...
>
> One example where qpdfview got busy recalculating (page 10):
>
> http://mirror.ctan.org/info/latexcourse-rug/latexcourse-rug.pdf
>
> This document uses the LaTeX microtype package, which implements
> optical alignment of margins.

I think it was simply missing rounding (after recombining crop rects
from several tiles which are already rounded) which I now added. Could
you try out branch revision 1655? Thanks.

> As I already mentioned in the bug report: manual cropping would be
> an option for me. It would take care of situations where there are
> meaningless page decorations or printers marks.
>

Best regards, Adam.