-
Notifications
You must be signed in to change notification settings - Fork 10k
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
Adds built in CMaps and unifies the glyph mapping. #4259
Adds built in CMaps and unifies the glyph mapping. #4259
Conversation
/botio test |
From: Bot.io (Linux)ReceivedCommand cmd_test from @brendandahl received. Current queue size: 0 Live output at: http://107.21.233.14:8877/e375b3ae779ef3f/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_test from @brendandahl received. Current queue size: 0 Live output at: http://107.22.172.223:8877/727ad7886171746/output.txt |
From: Bot.io (Linux)FailedFull output at http://107.21.233.14:8877/e375b3ae779ef3f/output.txt Total script time: 24.76 mins
Image differences available at: http://107.21.233.14:8877/e375b3ae779ef3f/reftest-analyzer.xhtml#web=eq.log |
From: Bot.io (Windows)FailedFull output at http://107.22.172.223:8877/727ad7886171746/output.txt Total script time: 38.75 mins
Image differences available at: http://107.22.172.223:8877/727ad7886171746/reftest-analyzer.xhtml#web=eq.log |
Really nice patch! This PR also fixes: |
I'm really impressed; this must have been a lot of work! /botio-linux preview |
From: Bot.io (Linux)ReceivedCommand cmd_preview from @timvandermeij received. Current queue size: 0 Live output at: http://107.21.233.14:8877/bae462589388042/output.txt |
From: Bot.io (Linux)SuccessFull output at http://107.21.233.14:8877/bae462589388042/output.txt Total script time: 0.32 mins Published
|
/botio-windows test |
From: Bot.io (Windows)ReceivedCommand cmd_test from @brendandahl received. Current queue size: 0 Live output at: http://107.22.172.223:8877/5f90e6e942eabc2/output.txt |
From: Bot.io (Windows)FailedFull output at http://107.22.172.223:8877/5f90e6e942eabc2/output.txt Total script time: 38.94 mins
Image differences available at: http://107.22.172.223:8877/5f90e6e942eabc2/reftest-analyzer.xhtml#web=eq.log |
@brendandahl Could you split external files addition into separate commit? |
Also, could you add them in binary form (as is), so we will not deal with crlf thing, e.g. add ".gitattributes" file with |
/botio-linux fonttest |
From: Bot.io (Linux)ReceivedCommand cmd_fonttest from @brendandahl received. Current queue size: 0 Live output at: http://107.21.233.14:8877/cfa130d46434aaa/output.txt |
From: Bot.io (Linux)SuccessFull output at http://107.21.233.14:8877/cfa130d46434aaa/output.txt Total script time: 0.36 mins
|
Looks like I broke something on linux fips test pdf. I'll fix that before merge. Most of the other ref failures are minor text movement which seem to vary from looking better to worse. |
/botio test |
From: Bot.io (Linux)ReceivedCommand cmd_test from @brendandahl received. Current queue size: 0 Live output at: http://107.21.233.14:8877/e9f1c67531fba0c/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_test from @brendandahl received. Current queue size: 0 Live output at: http://107.22.172.223:8877/55c54787d86f1b1/output.txt |
From: Bot.io (Linux)FailedFull output at http://107.21.233.14:8877/e9f1c67531fba0c/output.txt Total script time: 23.74 mins
Image differences available at: http://107.21.233.14:8877/e9f1c67531fba0c/reftest-analyzer.xhtml#web=eq.log |
From: Bot.io (Windows)FailedFull output at http://107.22.172.223:8877/55c54787d86f1b1/output.txt Total script time: 37.42 mins
Image differences available at: http://107.22.172.223:8877/55c54787d86f1b1/reftest-analyzer.xhtml#web=eq.log |
The symbol font issues seems to be fixed, but there are still missing hyphens in fips197 (page 3 and 11). |
In mozilla@b5b94a4, i.e. PR mozilla#4259, we stopped using cidmaps.js. Despite that, it's still included when PDF.js is built. At almost 0.5 MB (and approx. 7000 lines), this is currently the single largest file in the codebase. Including such a large file in the builds, when it is not actually used, seems extremely wasteful; hence this patch.
Changes
Expected Failures:
thuluthfont-pdf - minor - junk changes to different junk
issue919 - minor - change, some glyphs now don't end up in private use area
issue1912 - minor - movement not sure why, some glyphs are now mapped to correct unicode location
issue3405 - good - notdef shows in acrobat and preview
mao.pdf - good - looks more like acrobat
p020121130574743273239 - good - looks more like acrobat
Fixes:
#2884
#3323
#4061
#3120 - though this also seem to be fixed from a FF patch, but fixed in Aurora too
#2931
#2882
#1691
#2375