-
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
Move symbolic font glyphs to private use area if they don't have unicode mappings (issue 2594, bug 789074, bug 865644) #7705
Conversation
I checked most of the test failures (not all of them), but those looked like improvements to me. It has been reported that this patch fixes the original issue. /cc @yurydelendik or @brendandahl for review |
It looks like we're moving a lot of glyphs to the private use area, even ones that probably shouldn't be.
after patch
artofwar.pdf
after
Also, see my comment in #2594 (comment) |
/botio test |
2 similar comments
/botio test |
/botio test |
my 2¢: we don't have complete charCode->glyphNames mapping (based on encoding and differences). I'm thinking we shall address this first and after that adjustMapping will use glyphNames/unicode to determine if char code is at right location and will build FreeType2 autofit-friendly toFontChar? |
/botio test |
…mapping and text selection for mathematic fonts (issue 2594)
The latest version of this PR is in all likelihood my last attempt at fixing #2594, since it's an issue that I'm personally not affected by. Here, besides the original patch by @brendandahl which already fixes the majority of the problem, I'm also amending If this is a reasonable approach, we probably need a couple of Linux users (currently affected by the issue) to test this to ensure that it's in fact a sufficient solution. |
From: Bot.io (Linux)ReceivedCommand cmd_test from @Snuffleupagus received. Current queue size: 0 Live output at: http://107.21.233.14:8877/c75a6e95f23893f/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/b5bba0611348d95/output.txt |
From: Bot.io (Windows)FailedFull output at http://107.22.172.223:8877/b5bba0611348d95/output.txt Total script time: 25.65 mins
Image differences available at: http://107.22.172.223:8877/b5bba0611348d95/reftest-analyzer.html#web=eq.log |
From: Bot.io (Linux)FailedFull output at http://107.21.233.14:8877/c75a6e95f23893f/output.txt Total script time: 39.57 mins
Image differences available at: http://107.21.233.14:8877/c75a6e95f23893f/reftest-analyzer.html#web=eq.log |
From: Bot.io (Linux)ReceivedCommand cmd_preview from @Snuffleupagus received. Current queue size: 0 Live output at: http://107.21.233.14:8877/768d76e3834ac61/output.txt |
From: Bot.io (Linux)SuccessFull output at http://107.21.233.14:8877/768d76e3834ac61/output.txt Total script time: 2.99 mins Published |
r+ pending confirmation of fix |
The fix has been confirmed, so I'll take care of landing this. |
/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/1ccea58dc194a13/output.txt |
From: Bot.io (Linux)SuccessFull output at http://107.21.233.14:8877/1ccea58dc194a13/output.txt Total script time: 2.14 mins Published |
/botio test |
From: Bot.io (Linux)ReceivedCommand cmd_test from @timvandermeij received. Current queue size: 0 Live output at: http://107.21.233.14:8877/cf88fd2fe81c120/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_test from @timvandermeij received. Current queue size: 0 Live output at: http://107.22.172.223:8877/c9019a03bb8c0da/output.txt |
From: Bot.io (Windows)FailedFull output at http://107.22.172.223:8877/c9019a03bb8c0da/output.txt Total script time: 26.13 mins
Image differences available at: http://107.22.172.223:8877/c9019a03bb8c0da/reftest-analyzer.html#web=eq.log |
From: Bot.io (Linux)FailedFull output at http://107.21.233.14:8877/cf88fd2fe81c120/output.txt Total script time: 27.46 mins
Image differences available at: http://107.21.233.14:8877/cf88fd2fe81c120/reftest-analyzer.html#web=eq.log |
/botio makeref |
From: Bot.io (Linux)ReceivedCommand cmd_makeref from @timvandermeij received. Current queue size: 0 Live output at: http://107.21.233.14:8877/d57a8875608d51b/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_makeref from @timvandermeij received. Current queue size: 0 Live output at: http://107.22.172.223:8877/efe11a00014626c/output.txt |
From: Bot.io (Windows)SuccessFull output at http://107.22.172.223:8877/efe11a00014626c/output.txt Total script time: 25.85 mins
|
From: Bot.io (Linux)SuccessFull output at http://107.21.233.14:8877/d57a8875608d51b/output.txt Total script time: 26.58 mins
|
Thank you for the patch! |
Move symbolic font glyphs to private use area if they don't have unicode mappings (issue 2594, bug 789074, bug 865644)
This is a tentative patch, which builds upon PR #7482 (that commit is included here with the correct author), that attempts to address issue #2594, bug 789074, bug 865644.
According to #2594 (comment) and #2594 (comment) it seems like this kind of simple hack might actually work, and I'm opening the PR to be able to run tests on (especially) the Linux bot.