Slow display of rotated drawing

Forum for the PDF-XChange Editor - Free and Licensed Versions

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Post Reply
User avatar
David.P
User
Posts: 1501
Joined: Thu Feb 28, 2008 8:16 pm

Slow display of rotated drawing

Post by David.P »

Hello Forum,

I have found that some vector drawings with many drawing elements are rendered very slowly as soon as they have been even slightly rotated in PDF-XChange Editor. See the attached example.

On p. 1 of the attachment, the drawing is in its original state, while on p. 2 it was rotated by 0.2° in PDF-XChange Editor, using the Transform dialog.

The original drawing displays immediately and can also be rapidly zoomed and panned. The rotated drawing on p. 2 however has a much lower performance in PDF-XChange Editor.

Strangely, the performance of the rotated page initially was also perfect. The slowness only started after closing and re-opening the file.

In Ad*be Acr*bat or Reader, the performance of both drawings is very good and equally fast.

Maybe the Support team or the Devs can take a look into the rotated drawing in order to see what could be the reason for its poor performance.

Best regards
David
rotated drawing on p.2 renders slow.pdf
(239.68 KiB) Downloaded 124 times
David.P
PDF-XChange Pro
User avatar
rakunavi
User
Posts: 858
Joined: Sat Sep 11, 2021 5:04 am

Re: Slow display of rotated drawing

Post by rakunavi »

Hello David.P,

The issue still seems to be occurring with the latest build 368.
Hopefully Tracker support or development team are aware of this issue.

Best regards,
rakunavi
TOP desires for PDFXCE
forum.pdf-xchange.com/viewtopic.php?t=39665 LassoTool
forum.pdf-xchange.com/viewtopic.php?t=38554 CmtGarbled
forum.pdf-xchange.com/viewtopic.php?t=37353 FulScrMultiMon
forum.pdf-xchange.com/viewtopic.php?t=41002 DisableTouchSelect
User avatar
TrackerSupp-Daniel
Site Admin
Posts: 8371
Joined: Wed Jan 03, 2018 6:52 pm

Re: Slow display of rotated drawing

Post by TrackerSupp-Daniel »

Hello, rakunavi

Thank you for bringing this my attention. I have reproduced this and and showing it to the Dev team now. I am not sure how we missed this back in 2020 when it was initially reported, so I should also apologize to David for how long this went untouched.

[Edit: You will be happy to know that the Dev team is working on this issue now, The root causes here (yes, there are two issues at once) are both related to fact that the original page has a "mask" object covering all of it. In short, Masks are considerably easier to render in their original orientation, having a mask on an angle is a major performance hit compared to s properly oriented mask. The second aspect of this, and what makes this issue so much more pronounced, is that currently, it seems when we rotate this object, instead of rotating the single mask, we split it into a mask for each of the images contained therein, multiplying the severity of the other issue which is the angle itself.]

Kind regards,
Dan McIntyre - Support Technician
Tracker Software Products (Canada) LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
User avatar
rakunavi
User
Posts: 858
Joined: Sat Sep 11, 2021 5:04 am

Re: Slow display of rotated drawing

Post by rakunavi »

Hi Daniel,

Thank you very much for your detailed investigation. It is a relief to know the root cause. I am glad I happened to see this topic.

Best regards,
rakunavi
TOP desires for PDFXCE
forum.pdf-xchange.com/viewtopic.php?t=39665 LassoTool
forum.pdf-xchange.com/viewtopic.php?t=38554 CmtGarbled
forum.pdf-xchange.com/viewtopic.php?t=37353 FulScrMultiMon
forum.pdf-xchange.com/viewtopic.php?t=41002 DisableTouchSelect
User avatar
David.P
User
Posts: 1501
Joined: Thu Feb 28, 2008 8:16 pm

Re: Slow display of rotated drawing

Post by David.P »

It's awesome to hear that this might be resolved soon.

Thank you rakunavi & Daniel!

Cheers
David
:)
David.P
PDF-XChange Pro
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17765
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Slow display of rotated drawing

Post by Tracker Supp-Stefan »

:)
Post Reply