-
Notifications
You must be signed in to change notification settings - Fork 10.3k
XFA - Get line height from the font #13614
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
calixteman
commented
Jun 23, 2021
- when the CSS line-height property is set to 'normal' then the value depends of the user agent. So use a line height based on the font itself and if for any reasons this value is not available use 1.2 as default.
- it's a partial fix for https://bugzilla.mozilla.org/show_bug.cgi?id=1717681.
Almost all the xfa reftests should fail but overall I'd say it's an improvement. /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/4070a459e572c08/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/93c1434d034dc6f/output.txt |
From: Bot.io (Linux m4)ReceivedCommand cmd_test from @calixteman received. Current queue size: 1 Live output at: http://54.67.70.0:8877/77e0b2ff5137aa4/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_test from @calixteman received. Current queue size: 1 Live output at: http://3.101.106.178:8877/941c5d320959c38/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.67.70.0:8877/4070a459e572c08/output.txt Total script time: 28.49 mins
Image differences available at: http://54.67.70.0:8877/4070a459e572c08/reftest-analyzer.html#web=eq.log |
From: Bot.io (Windows)FailedFull output at http://3.101.106.178:8877/93c1434d034dc6f/output.txt Total script time: 32.24 mins
Image differences available at: http://3.101.106.178:8877/93c1434d034dc6f/reftest-analyzer.html#web=eq.log |
There is a regression in |
From: Bot.io (Linux m4)FailedFull output at http://54.67.70.0:8877/77e0b2ff5137aa4/output.txt Total script time: 28.53 mins
Image differences available at: http://54.67.70.0:8877/77e0b2ff5137aa4/reftest-analyzer.html#web=eq.log |
From: Bot.io (Windows)FailedFull output at http://3.101.106.178:8877/941c5d320959c38/output.txt Total script time: 32.47 mins
Image differences available at: http://3.101.106.178:8877/941c5d320959c38/reftest-analyzer.html#web=eq.log |
- when the CSS line-height property is set to 'normal' then the value depends of the user agent. So use a line height based on the font itself and if for any reasons this value is not available use 1.2 as default. - it's a partial fix for https://bugzilla.mozilla.org/show_bug.cgi?id=1717681.
/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/027bd75996e0e02/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/fdf9aa5bae8323c/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.67.70.0:8877/027bd75996e0e02/output.txt Total script time: 28.68 mins
Image differences available at: http://54.67.70.0:8877/027bd75996e0e02/reftest-analyzer.html#web=eq.log |
From: Bot.io (Windows)FailedFull output at http://3.101.106.178:8877/fdf9aa5bae8323c/output.txt Total script time: 31.99 mins
Image differences available at: http://3.101.106.178:8877/fdf9aa5bae8323c/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.
Reftests are looking good now.
/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/b66f1efc20c99e7/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_makeref from @calixteman received. Current queue size: 1 Live output at: http://3.101.106.178:8877/adef59bdb26e613/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.67.70.0:8877/b66f1efc20c99e7/output.txt Total script time: 25.28 mins
|
From: Bot.io (Windows)SuccessFull output at http://3.101.106.178:8877/adef59bdb26e613/output.txt Total script time: 29.74 mins
|