Skip to content

Don't map glyphs to Unicode "Dotted circle" combining mark (bug 1108301) #5705

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

Merged
merged 1 commit into from
Mar 24, 2015
Merged

Don't map glyphs to Unicode "Dotted circle" combining mark (bug 1108301) #5705

merged 1 commit into from
Mar 24, 2015

Conversation

Snuffleupagus
Copy link
Collaborator

It seems that 0x25CC is another bad spot for charCodes.
Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1108301.

Edit: Fixes one of the bugs in #5647.

@Snuffleupagus Snuffleupagus added this to the 2015 Q1 milestone Feb 6, 2015
@Snuffleupagus
Copy link
Collaborator Author

/botio test

@pdfjsbot
Copy link

pdfjsbot commented Feb 6, 2015

From: Bot.io (Linux)


Received

Command cmd_test from @Snuffleupagus received. Current queue size: 0

Live output at: http://107.21.233.14:8877/cea6b0bfa0fa65e/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Feb 6, 2015

From: Bot.io (Linux)


Success

Full output at http://107.21.233.14:8877/cea6b0bfa0fa65e/output.txt

Total script time: 22.80 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Regression tests: Passed

@pdfjsbot
Copy link

pdfjsbot commented Feb 6, 2015

From: Bot.io (Windows)


Received

Command cmd_test from @Snuffleupagus received. Current queue size: 0

Live output at: http://107.22.172.223:8877/2a1f5bb24ff3328/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Feb 6, 2015

From: Bot.io (Windows)


Success

Full output at http://107.22.172.223:8877/2a1f5bb24ff3328/output.txt

Total script time: 17.10 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Regression tests: Passed

@brendandahl
Copy link
Contributor

Any idea why this character is special? BTW seems to be a windows only problem.

@Snuffleupagus
Copy link
Collaborator Author

Any idea why this character is special? BTW seems to be a windows only problem.

No, unfortunately not. I'm actually leaning towards closing the PR, since I have a hard time rationalizing why this patch is the "correct" solution.

@Snuffleupagus
Copy link
Collaborator Author

Actually, doing a code search against the Mozilla source gives interesting results: https://dxr.mozilla.org/mozilla-central/search?q=0x25CC&case=false.
I'm not pretending to understand anything about that code, or if it's even remotely relevant in this context, but there does appear to be some special handling of the 0x25CC charCode.

Edit: Looking at e.g. https://dxr.mozilla.org/mozilla-central/source/gfx/harfbuzz/src/hb-ot-shape.cc#236 or https://dxr.mozilla.org/mozilla-central/source/gfx/harfbuzz/src/hb-ot-shape-complex-sea.cc#275, I'm wondering if something like that would actually perfectly explain the issue that this patch attempts to fix.

@Snuffleupagus
Copy link
Collaborator Author

Rebased to fix merge conflicts in the test files, no functional code changes were made.

@brendandahl
Copy link
Contributor

/botio makeref

@pdfjsbot
Copy link

From: Bot.io (Linux)


Received

Command cmd_makeref from @brendandahl received. Current queue size: 0

Live output at: http://107.21.233.14:8877/de4b738597be3d4/output.txt

@pdfjsbot
Copy link

From: Bot.io (Windows)


Received

Command cmd_makeref from @brendandahl received. Current queue size: 0

Live output at: http://107.22.172.223:8877/e2f9b135217342e/output.txt

@pdfjsbot
Copy link

From: Bot.io (Windows)


Failed

Full output at http://107.22.172.223:8877/e2f9b135217342e/output.txt

Total script time: 1.11 mins

  • Lint: Passed
  • Make references: FAILED

@brendandahl
Copy link
Contributor

/botio-windows makeref

@pdfjsbot
Copy link

From: Bot.io (Windows)


Received

Command cmd_makeref from @brendandahl received. Current queue size: 0

Live output at: http://107.22.172.223:8877/0329a166c00080c/output.txt

@pdfjsbot
Copy link

From: Bot.io (Windows)


Success

Full output at http://107.22.172.223:8877/0329a166c00080c/output.txt

Total script time: 17.68 mins

  • Lint: Passed
  • Make references: Passed
  • Check references: Passed

@pdfjsbot
Copy link

From: Bot.io (Linux)


Success

Full output at http://107.21.233.14:8877/de4b738597be3d4/output.txt

Total script time: 22.14 mins

  • Lint: Passed
  • Make references: Passed
  • Check references: Passed

brendandahl added a commit that referenced this pull request Mar 24, 2015
Don't map glyphs to Unicode "Dotted circle" combining mark (bug 1108301)
@brendandahl brendandahl merged commit 519b666 into mozilla:master Mar 24, 2015
@Snuffleupagus Snuffleupagus deleted the bug-1108301 branch March 24, 2015 23:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants