-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Fix save/restore while in smask mode #19708
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The rendering bug with issue17779.pdf is due to the fact that we call save on the suspended ctx but not on the the current ctx. So each time we've something like save/transform/restore then the transform not "removed" when restoring. So this patch just apply the save/restore operations to ctx which are mirrored on the suspended one.
/botio browsertest |
From: Bot.io (Windows)ReceivedCommand cmd_browsertest from @calixteman received. Current queue size: 0 Live output at: http://54.193.163.58:8877/516d8098f1c4796/output.txt |
From: Bot.io (Linux m4)ReceivedCommand cmd_browsertest from @calixteman received. Current queue size: 0 Live output at: http://54.241.84.105:8877/c246e22b12a9c61/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.241.84.105:8877/c246e22b12a9c61/output.txt Total script time: 15.89 mins
Image differences available at: http://54.241.84.105:8877/c246e22b12a9c61/reftest-analyzer.html#web=eq.log |
From: Bot.io (Windows)FailedFull output at http://54.193.163.58:8877/516d8098f1c4796/output.txt Total script time: 29.49 mins
Image differences available at: http://54.193.163.58:8877/516d8098f1c4796/reftest-analyzer.html#web=eq.log |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r=me, thank you.
Does this PR perhaps render #17777 obsolete, given #17777 (comment)? |
/botio makeref |
From: Bot.io (Linux m4)ReceivedCommand cmd_makeref from @calixteman received. Current queue size: 1 Live output at: http://54.241.84.105:8877/3c7c991c1e4595e/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_makeref from @calixteman received. Current queue size: 1 Live output at: http://54.193.163.58:8877/471b0d14206d6f0/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.241.84.105:8877/3c7c991c1e4595e/output.txt Total script time: 15.78 mins
|
Maybe yes. |
From: Bot.io (Windows)SuccessFull output at http://54.193.163.58:8877/471b0d14206d6f0/output.txt Total script time: 29.82 mins
|
If that's a common case in PDFs with a huge number of path rendering operators, e.g. large maps, then maybe it might make sense to try and avoid pointless |
The rendering bug with issue17779.pdf is due to the fact that we call save on the suspended ctx but not on the the current ctx. So each time we've something like save/transform/restore then the transform not "removed" when restoring.
So this patch just apply the save/restore operations to ctx which are mirrored on the suspended one.