-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Don't map glyphs to certain problematic General Punctuation Unicode locations (bug 911034) #5923
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
…| to a separate helper function
…ocations (bug 911034) Fixes the remaining missing characters in https://bugzilla.mozilla.org/show_bug.cgi?id=911034. For reference, see http://www.unicode.org/charts/PDF/U2000.pdf (and also http://en.wikipedia.org/wiki/General_Punctuation_%28Unicode_block%29).
/botio test |
From: Bot.io (Linux)ReceivedCommand cmd_test from @Snuffleupagus received. Current queue size: 0 Live output at: http://107.21.233.14:8877/1677cb9d22ffd17/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_test from @Snuffleupagus received. Current queue size: 0 Live output at: http://107.22.172.223:8877/9812883634b1b04/output.txt |
From: Bot.io (Windows)FailedFull output at http://107.22.172.223:8877/9812883634b1b04/output.txt Total script time: 3.04 mins
Image differences available at: http://107.22.172.223:8877/9812883634b1b04/reftest-analyzer.html#web=eq.log |
From: Bot.io (Linux)SuccessFull output at http://107.21.233.14:8877/1677cb9d22ffd17/output.txt Total script time: 23.37 mins
|
Thanks Jonas for your tireless work on those issues. I think the refactoring is fine, But as somebody who is not involved as you are, could you maybe add a comment line saying WHY these codes are "problematic", maybe linking the Wikipedia page? |
/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/cddcfca4fa5fced/output.txt |
From: Bot.io (Windows)SuccessFull output at http://107.22.172.223:8877/cddcfca4fa5fced/output.txt Total script time: 18.63 mins
|
/botio makeref |
From: Bot.io (Windows)ReceivedCommand cmd_makeref from @brendandahl received. Current queue size: 0 Live output at: http://107.22.172.223:8877/6a9c6b55fa794d5/output.txt |
From: Bot.io (Linux)ReceivedCommand cmd_makeref from @brendandahl received. Current queue size: 0 Live output at: http://107.21.233.14:8877/451f865fa5ef7a6/output.txt |
From: Bot.io (Windows)SuccessFull output at http://107.22.172.223:8877/6a9c6b55fa794d5/output.txt Total script time: 18.58 mins
|
From: Bot.io (Linux)SuccessFull output at http://107.21.233.14:8877/451f865fa5ef7a6/output.txt Total script time: 22.68 mins
|
Don't map glyphs to certain problematic General Punctuation Unicode locations (bug 911034)
Nice work! I like the separate function too. |
Which version of firefox can i expect this change be updated? |
I think Firefox 39 or 40 since that has to go through the Aurora and Beta branches before it gets to the Release branch. |
I there way i can test these changes using some build. |
The PDF.js updates land on [1] Virtually all changes to Mozilla source code follows the pattern:
@rohithns The simplest way is to open your file(s) with the web viewer (by clicking on the |
Fixes the remaining missing characters in https://bugzilla.mozilla.org/show_bug.cgi?id=911034.
For reference, see http://www.unicode.org/charts/PDF/U2000.pdf (and also http://en.wikipedia.org/wiki/General_Punctuation_%28Unicode_block%29).
Note: With all the existing special cases for problematic character locations in
adjustMapping
, and given that we're most likely going to need to add even more in the future, I felt that readability was starting to become an issue. Hence the first patch, which extracts that code into a separate function.