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

Assign non-zero width/height to all rectangles (issue 4260) #4521

Merged
merged 1 commit into from
Mar 31, 2014
Merged

Assign non-zero width/height to all rectangles (issue 4260) #4521

merged 1 commit into from
Mar 31, 2014

Conversation

Snuffleupagus
Copy link
Collaborator

Fixes #4260.

@yurydelendik
Copy link
Contributor

/botio test

@pdfjsbot
Copy link

From: Bot.io (Linux)


Received

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

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

@pdfjsbot
Copy link

From: Bot.io (Windows)


Received

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

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

@pdfjsbot
Copy link

From: Bot.io (Linux)


Failed

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

Total script time: 25.92 mins

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

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

@pdfjsbot
Copy link

From: Bot.io (Windows)


Failed

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

Total script time: 36.35 mins

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

Image differences available at: http://107.22.172.223:8877/2b604ae13b4de1d/reftest-analyzer.html#web=eq.log

@timvandermeij
Copy link
Contributor

/botio-linux preview

@pdfjsbot
Copy link

From: Bot.io (Linux)


Received

Command cmd_preview from @timvandermeij received. Current queue size: 0

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

@timvandermeij
Copy link
Contributor

Nice patch! It definitely solves #4260. Not sure why that one PDF gets thicker lines though.

@Snuffleupagus
Copy link
Collaborator Author

I don't really understand why issue1629 fails, but I noticed that the relevant rectangles are followed by a stroke op:

2089.4 12699.2 131.969 0 re
S
2089.4 12699.2 131.969 0 re
S
...

In the file that this PR attempts to fix, the rectangles are followed by fill, so we might have to instead do what's suggested here: #4260 (comment).

@yurydelendik
Copy link
Contributor

I'm not sure it will give a different result

@yurydelendik
Copy link
Contributor

issue1629 looks fine for me with the change. pdf is expecting zero-width line - we are painting that there

@yurydelendik
Copy link
Contributor

/botio makeref

@pdfjsbot
Copy link

From: Bot.io (Linux)


Received

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

Live output at: http://107.21.233.14:8877/5e4c3ab4b084662/output.txt

@pdfjsbot
Copy link

From: Bot.io (Windows)


Received

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

Live output at: http://107.22.172.223:8877/66676c102be7e95/output.txt

@pdfjsbot
Copy link

From: Bot.io (Windows)


Failed

Full output at http://107.22.172.223:8877/66676c102be7e95/output.txt

Total script time: 20.59 mins

  • Lint: FAILED
  • Make references: FAILED

@yurydelendik
Copy link
Contributor

/botio-windows makeref

@pdfjsbot
Copy link

From: Bot.io (Windows)


Received

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

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

@pdfjsbot
Copy link

From: Bot.io (Linux)


Success

Full output at http://107.21.233.14:8877/5e4c3ab4b084662/output.txt

Total script time: 25.96 mins

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

@pdfjsbot
Copy link

From: Bot.io (Windows)


Failed

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

Total script time: 20.89 mins

  • Lint: FAILED
  • Make references: FAILED

@Snuffleupagus
Copy link
Collaborator Author

Third time lucky?

/botio-windows makeref

@pdfjsbot
Copy link

From: Bot.io (Windows)


Received

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

Live output at: http://107.22.172.223:8877/80dfe9903d4ab74/output.txt

@pdfjsbot
Copy link

From: Bot.io (Windows)


Failed

Full output at http://107.22.172.223:8877/80dfe9903d4ab74/output.txt

Total script time: 19.08 mins

  • Lint: FAILED
  • Make references: FAILED

@timvandermeij
Copy link
Contributor

/botio-windows makeref

@pdfjsbot
Copy link

From: Bot.io (Windows)


Received

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

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

@pdfjsbot
Copy link

From: Bot.io (Windows)


Failed

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

Total script time: 21.51 mins

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

@timvandermeij
Copy link
Contributor

/botio-windows lint

@pdfjsbot
Copy link

From: Bot.io (Windows)


Received

Command cmd_lint from @timvandermeij received. Current queue size: 0

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

@pdfjsbot
Copy link

From: Bot.io (Windows)


Failed

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

Total script time: 0.63 mins

  • Lint: FAILED

@timvandermeij
Copy link
Contributor

@yurydelendik Why does lint fail on the Windows bot? The log displays nothing indicating a problem. The reference images have now been made successfully, so I think this is ready to go.

yurydelendik added a commit that referenced this pull request Mar 31, 2014
Assign non-zero width/height to all rectangles (issue 4260)
@yurydelendik yurydelendik merged commit 7075032 into mozilla:master Mar 31, 2014
@yurydelendik
Copy link
Contributor

Thanks

@Snuffleupagus Snuffleupagus deleted the issue-4260 branch March 31, 2014 13:20
@yurydelendik
Copy link
Contributor

Why does lint fail on the Windows bot? The log displays nothing indicating a problem. The reference images have now been made successfully, so I think this is ready to go.

Node on windows is bad with flushing the stdout when process.exit is used. I filed #4544 -- direct jshint call might fix the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Lines in the table are not showing
4 participants