-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
XFA - Improve text layout #13653
XFA - Improve text layout #13653
Conversation
calixteman
commented
Jul 2, 2021
- support paragraph margins, line height, letter spacing, ...
- compute missing dimensions from fields based almost on the dimensions of caption contents.
- support paragraph margins, line height, letter spacing, ... - compute missing dimensions from fields based almost on the dimensions of caption contents.
It's expected to have a lot of test failures. /botio test |
From: Bot.io (Linux m4)ReceivedCommand cmd_test from @calixteman received. Current queue size: 0 Live output at: http://54.67.70.0:8877/682a72b13106a36/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_test from @calixteman received. Current queue size: 0 Live output at: http://3.101.106.178:8877/dda743adf47650a/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.67.70.0:8877/682a72b13106a36/output.txt Total script time: 30.35 mins
Image differences available at: http://54.67.70.0:8877/682a72b13106a36/reftest-analyzer.html#web=eq.log |
From: Bot.io (Windows)FailedFull output at http://3.101.106.178:8877/dda743adf47650a/output.txt Total script time: 35.55 mins
Image differences available at: http://3.101.106.178:8877/dda743adf47650a/reftest-analyzer.html#web=eq.log |
This might be a known issue, but looking at e.g. |
/botio makeref |
From: Bot.io (Linux m4)ReceivedCommand cmd_makeref from @calixteman received. Current queue size: 0 Live output at: http://54.67.70.0:8877/416b96e0cf115c2/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_makeref from @calixteman received. Current queue size: 0 Live output at: http://3.101.106.178:8877/33799e783cb71a6/output.txt |
Most of the changes there looked irrelevant to me, do you have an example of a regression? |
I know we've still some issues with line height. |
One example: Compare the bottom of the first page and the top of the second page, in PDF.js and Adobe Reader. (If necessary I can attach screen-shots later, but based on #13653 (comment) I guess this is indeed a known issue.) |
From: Bot.io (Windows)FailedFull output at http://3.101.106.178:8877/33799e783cb71a6/output.txt Total script time: 24.72 mins
|
From: Bot.io (Linux m4)SuccessFull output at http://54.67.70.0:8877/416b96e0cf115c2/output.txt Total script time: 27.12 mins
|
/botio-windows makeref |
From: Bot.io (Windows)ReceivedCommand cmd_makeref from @calixteman received. Current queue size: 0 Live output at: http://3.101.106.178:8877/e61f792d9d5ada4/output.txt |
From: Bot.io (Windows)SuccessFull output at http://3.101.106.178:8877/e61f792d9d5ada4/output.txt Total script time: 31.43 mins
|
sadly we had an intermittent failure here... |
Possibly it could also mean that the browser hangs, but I also don't really know :-( This type of error looks very similar, or even identical, to the intermittent ones that made me abandon PR #13649.
In the PR mentioned above, initially the failures occurred for another test-case; hence I'm not sure if the problem is with a specific file. However, it seems to me that it's the XFA test-cases which are (intermittently) affected by this. This is pure speculation on my part, but I cannot help wonder if maybe there's cases where some of the image resources somehow fail to load (without an error being throw), causing the
Me neither, and I really tried in PR #13649. |