Skip to content

Avoid exception when trying to render some glyphs contours - #20514

Merged
calixteman merged 1 commit into
mozilla:masterfrom
calixteman:issue20513
Dec 23, 2025
Merged

calixteman merged 1 commit into
mozilla:masterfrom
calixteman:issue20513

Conversation

@calixteman

Copy link
Copy Markdown
Contributor

It fixes #20513.

@calixteman

Copy link
Copy Markdown
Contributor Author

/botio test

@moz-tools-bot

Copy link
Copy Markdown
Collaborator

From: Bot.io (Windows)


Received

Command cmd_test from @calixteman received. Current queue size: 1

Live output at: http://54.193.163.58:8877/b0338c652ef42f7/output.txt

@moz-tools-bot

Copy link
Copy Markdown
Collaborator

From: Bot.io (Linux m4)


Received

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

Live output at: http://54.241.84.105:8877/0a7ed7caa6bb6ae/output.txt

@moz-tools-bot

Copy link
Copy Markdown
Collaborator

From: Bot.io (Linux m4)


Failed

Full output at http://54.241.84.105:8877/0a7ed7caa6bb6ae/output.txt

Total script time: 60.00 mins

@timvandermeij

Copy link
Copy Markdown
Collaborator

It looks like an update of presumably Firefox Nightly breaks browser initialization on both bots with:

JavaScript error: , line 0: SyntaxError: Failed to parse import map: Invalid JSON format. JSON.parse: expected ',' or '}' after property value in object at line 38 column 11 of the JSON data
JavaScript error: http://127.0.0.1:40915/test/unit/jasmine-boot.js, line 43: TypeError: The specifier “pdfjs/display/worker_options.js” was a bare specifier, but was not remapped to anything. Relative module specifiers must start with “./”, “../” or “/”

I also have this locally too now, so it's not related to this patch or e.g. the PR with dependency updates.

@calixteman

Copy link
Copy Markdown
Contributor Author

/botio test

@moz-tools-bot

Copy link
Copy Markdown
Collaborator

From: Bot.io (Linux m4)


Received

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

Live output at: http://54.241.84.105:8877/3f95efab2783752/output.txt

@moz-tools-bot

Copy link
Copy Markdown
Collaborator

From: Bot.io (Windows)


Received

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

Live output at: http://54.193.163.58:8877/6790332de4f970b/output.txt

@moz-tools-bot

Copy link
Copy Markdown
Collaborator

From: Bot.io (Windows)


Failed

Full output at http://54.193.163.58:8877/6790332de4f970b/output.txt

Total script time: 18.35 mins

  • Unit tests: FAILED
  • Integration Tests: FAILED
  • Regression tests: FAILED

Image differences available at: http://54.193.163.58:8877/6790332de4f970b/reftest-analyzer.html#web=eq.log

@moz-tools-bot

Copy link
Copy Markdown
Collaborator

From: Bot.io (Linux m4)


Failed

Full output at http://54.241.84.105:8877/3f95efab2783752/output.txt

Total script time: 41.32 mins

  • Unit tests: Passed
  • Integration Tests: Passed
  • Regression tests: FAILED
  different ref/snapshot: 3

Image differences available at: http://54.241.84.105:8877/3f95efab2783752/reftest-analyzer.html#web=eq.log

@timvandermeij timvandermeij left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r=me, with a rebase and passing Windows tests (since they failed). Thank you for the fix!

@calixteman

Copy link
Copy Markdown
Contributor Author

/botio test

@moz-tools-bot

Copy link
Copy Markdown
Collaborator

From: Bot.io (Linux m4)


Received

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

Live output at: http://54.241.84.105:8877/a26d116144fd1ea/output.txt

@moz-tools-bot

Copy link
Copy Markdown
Collaborator

From: Bot.io (Windows)


Received

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

Live output at: http://54.193.163.58:8877/70b95a036580a94/output.txt

@moz-tools-bot

Copy link
Copy Markdown
Collaborator

From: Bot.io (Linux m4)


Failed

Full output at http://54.241.84.105:8877/a26d116144fd1ea/output.txt

Total script time: 40.90 mins

  • Unit tests: Passed
  • Integration Tests: Passed
  • Regression tests: FAILED
  different ref/snapshot: 3

Image differences available at: http://54.241.84.105:8877/a26d116144fd1ea/reftest-analyzer.html#web=eq.log

@moz-tools-bot

Copy link
Copy Markdown
Collaborator

From: Bot.io (Windows)


Failed

Full output at http://54.193.163.58:8877/70b95a036580a94/output.txt

Total script time: 79.61 mins

  • Unit tests: FAILED
  • Integration Tests: Passed
  • Regression tests: FAILED
  different ref/snapshot: 3

Image differences available at: http://54.193.163.58:8877/70b95a036580a94/reftest-analyzer.html#web=eq.log

@calixteman

Copy link
Copy Markdown
Contributor Author

The errors in the xfa files are unrelated to this patch (the modified function isn't called in the XFA context).

@calixteman
calixteman merged commit 9f4db38 into mozilla:master Dec 23, 2025
10 checks passed
@calixteman

Copy link
Copy Markdown
Contributor Author

/botio makeref

@moz-tools-bot

Copy link
Copy Markdown
Collaborator

From: Bot.io (Linux m4)


Received

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

Live output at: http://54.241.84.105:8877/403c55a1053812c/output.txt

@moz-tools-bot

Copy link
Copy Markdown
Collaborator

From: Bot.io (Windows)


Received

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

Live output at: http://54.193.163.58:8877/9c45f90e1618a1f/output.txt

@moz-tools-bot

Copy link
Copy Markdown
Collaborator

From: Bot.io (Linux m4)


Success

Full output at http://54.241.84.105:8877/403c55a1053812c/output.txt

Total script time: 18.72 mins

  • Make references: Passed
  • Check references: Passed

@moz-tools-bot

Copy link
Copy Markdown
Collaborator

From: Bot.io (Windows)


Success

Full output at http://54.193.163.58:8877/9c45f90e1618a1f/output.txt

Total script time: 31.35 mins

  • Make references: Passed
  • Check references: Passed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Glyphs are not rendered correctly

3 participants