Skip to content

Don't double apply a group xobject's bbox. #14241

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
Nov 6, 2021

Conversation

brendandahl
Copy link
Contributor

@brendandahl brendandahl commented Nov 5, 2021

In beginGroup we create a new canvas that is the size of the
bounding box and we translate it to the offset. This means we don't need to
also apply the bounding box during paintFormXObjectBegin.

This improves #6961 quite a bit, but it still is missing the indention
in the ruler.

@brendandahl
Copy link
Contributor Author

/botio test

@pdfjsbot
Copy link

pdfjsbot commented Nov 5, 2021

From: Bot.io (Linux m4)


Received

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

Live output at: http://54.241.84.105:8877/9b51eeed82fb3c1/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Nov 5, 2021

From: Bot.io (Windows)


Received

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

Live output at: http://54.193.163.58:8877/1c4661691995242/output.txt

Copy link
Collaborator

@Snuffleupagus Snuffleupagus left a comment

Choose a reason for hiding this comment

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

Should we perhaps change this to an "eq"-test instead?

"type": "load"

r=me, with passing (or improving) tests; thank you!

@brendandahl
Copy link
Contributor Author

Should we perhaps change this to an "eq"-test instead?

Yes!

@pdfjsbot
Copy link

pdfjsbot commented Nov 5, 2021

From: Bot.io (Linux m4)


Failed

Full output at http://54.241.84.105:8877/9b51eeed82fb3c1/output.txt

Total script time: 23.35 mins

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

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

In `beginGroup` we create a new canvas that is the size of the
bounding box and we translate it to the offset. This means we don't need to
also apply the bounding box during `paintFormXObjectBegin`.

This improves mozilla#6961 quite a bit, but it still is missing the indention
in the ruler.
@brendandahl brendandahl changed the title Don't double apply an xobject's matrix and bbox. Don't double apply a group xobject's bbox. Nov 5, 2021
@brendandahl
Copy link
Contributor Author

This should fix transparency_group.pdf, we weren't actually double applying the matrix, only the bbox.

/botio test

@pdfjsbot
Copy link

pdfjsbot commented Nov 5, 2021

From: Bot.io (Linux m4)


Received

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

Live output at: http://54.241.84.105:8877/5ee14ee0a9055e2/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Nov 5, 2021

From: Bot.io (Windows)


Received

Command cmd_test from @brendandahl received. Current queue size: 2

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

@pdfjsbot
Copy link

pdfjsbot commented Nov 5, 2021

From: Bot.io (Windows)


Failed

Full output at http://54.193.163.58:8877/1c4661691995242/output.txt

Total script time: 42.55 mins

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

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

@pdfjsbot
Copy link

pdfjsbot commented Nov 5, 2021

From: Bot.io (Linux m4)


Failed

Full output at http://54.241.84.105:8877/5ee14ee0a9055e2/output.txt

Total script time: 23.47 mins

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

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

@pdfjsbot
Copy link

pdfjsbot commented Nov 6, 2021

From: Bot.io (Windows)


Failed

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

Total script time: 42.27 mins

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

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

@brendandahl
Copy link
Contributor Author

/botio makeref

@pdfjsbot
Copy link

pdfjsbot commented Nov 6, 2021

From: Bot.io (Linux m4)


Received

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

Live output at: http://54.241.84.105:8877/18f6f0adf14a89e/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Nov 6, 2021

From: Bot.io (Windows)


Received

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

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

@brendandahl brendandahl merged commit 3b5a463 into mozilla:master Nov 6, 2021
@pdfjsbot
Copy link

pdfjsbot commented Nov 6, 2021

From: Bot.io (Linux m4)


Failed

Full output at http://54.241.84.105:8877/18f6f0adf14a89e/output.txt

Total script time: 19.31 mins

  • Lint: Passed
  • Make references: FAILED

@pdfjsbot
Copy link

pdfjsbot commented Nov 6, 2021

From: Bot.io (Windows)


Success

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

Total script time: 38.55 mins

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

@Snuffleupagus
Copy link
Collaborator

/botio-linux makeref

@pdfjsbot
Copy link

pdfjsbot commented Nov 6, 2021

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/6e03bdc06090944/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Nov 6, 2021

From: Bot.io (Linux m4)


Success

Full output at http://54.241.84.105:8877/6e03bdc06090944/output.txt

Total script time: 20.89 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
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants