Skip to content
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

Lookup image-data correctly in paintImageMaskXObjectGroup (issue 14990) #14992

Merged
merged 1 commit into from
Jun 5, 2022

Conversation

Snuffleupagus
Copy link
Collaborator

This fixes a regression from PR #14754.

We didn't lookup the image-data correctly, with the result that we tried to render some ImageMasks using a string rather than the intended TypedArray. To make matters worse, this code-path was apparently not properly covered by existing test-cases.

@Snuffleupagus Snuffleupagus linked an issue Jun 5, 2022 that may be closed by this pull request
@Snuffleupagus Snuffleupagus force-pushed the issue-14990 branch 2 times, most recently from 6e4d7ff to e6dfb28 Compare June 5, 2022 10:37
…990)

*This fixes a regression from PR 14754.*

We didn't lookup the image-data correctly, with the result that we tried to render some ImageMasks using a string rather than the intended TypedArray. To make matters worse, this code-path was apparently not *properly* covered by existing test-cases.
Copy link
Contributor

@calixteman calixteman left a comment

Choose a reason for hiding this comment

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

LGTM, thank you.

@Snuffleupagus
Copy link
Collaborator Author

/botio test

@pdfjsbot
Copy link

pdfjsbot commented Jun 5, 2022

From: Bot.io (Linux m4)


Received

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

Live output at: http://54.241.84.105:8877/832d8110ad24ff3/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Jun 5, 2022

From: Bot.io (Windows)


Received

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

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

@pdfjsbot
Copy link

pdfjsbot commented Jun 5, 2022

From: Bot.io (Linux m4)


Failed

Full output at http://54.241.84.105:8877/832d8110ad24ff3/output.txt

Total script time: 26.55 mins

  • Font tests: Passed
  • Unit tests: FAILED
  • Integration Tests: Passed
  • Regression tests: FAILED
  different ref/snapshot: 22
  different first/second rendering: 1

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

@pdfjsbot
Copy link

pdfjsbot commented Jun 5, 2022

From: Bot.io (Windows)


Failed

Full output at http://54.193.163.58:8877/fe773864116fc02/output.txt

Total script time: 27.98 mins

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

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

@Snuffleupagus Snuffleupagus merged commit 87fdb0e into mozilla:master Jun 5, 2022
@Snuffleupagus
Copy link
Collaborator Author

/botio makeref

@pdfjsbot
Copy link

pdfjsbot commented Jun 5, 2022

From: Bot.io (Linux m4)


Received

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

Live output at: http://54.241.84.105:8877/7ab1701061308b4/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Jun 5, 2022

From: Bot.io (Windows)


Received

Command cmd_makeref from @Snuffleupagus received. Current queue size: 1

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

@pdfjsbot
Copy link

pdfjsbot commented Jun 5, 2022

From: Bot.io (Linux m4)


Success

Full output at http://54.241.84.105:8877/7ab1701061308b4/output.txt

Total script time: 23.03 mins

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

@pdfjsbot
Copy link

pdfjsbot commented Jun 5, 2022

From: Bot.io (Windows)


Success

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

Total script time: 21.55 mins

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

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.

Some text mostly missing on some PDFs
3 participants