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

Handle nested post script arguments in the preprocessor #4799

Merged
merged 1 commit into from
May 15, 2014

Conversation

chriskr
Copy link
Contributor

@chriskr chriskr commented May 15, 2014

Fix for issue #4785

@Snuffleupagus
Copy link
Collaborator

@yurydelendik Do we also need a test case?

/botio test

@pdfjsbot
Copy link

From: Bot.io (Windows)


Received

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

Live output at: http://107.22.172.223:8877/8c65295e2cdb253/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux)


Received

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

Live output at: http://107.21.233.14:8877/6197421c7b11ea5/output.txt

@pdfjsbot
Copy link

From: Bot.io (Windows)


Failed

Full output at http://107.22.172.223:8877/8c65295e2cdb253/output.txt

Total script time: 23.50 mins

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

@pdfjsbot
Copy link

From: Bot.io (Linux)


Failed

Full output at http://107.21.233.14:8877/6197421c7b11ea5/output.txt

Total script time: 26.19 mins

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

@@ -1879,6 +1880,16 @@ var EvaluatorPreprocessor = (function EvaluatorPreprocessorClosure() {

var fn = opSpec.id;

if (!opSpec.variableArgs) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you add args.length !== opSpec.numArgs and/or comment about why we are doing this?

@yurydelendik
Copy link
Contributor

@yurydelendik Do we also need a test case?

The unit test at https://github.com/mozilla/pdf.js/blob/master/test/unit/evaluator_spec.js#L146 shall be changed or probably new one shall be created for /F2 /GS2 gs 5.711 Tf

@chriskr
Copy link
Contributor Author

chriskr commented May 15, 2014

Fixed the issues.

@timvandermeij
Copy link
Contributor

/botio test

@pdfjsbot
Copy link

From: Bot.io (Windows)


Received

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

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

@pdfjsbot
Copy link

From: Bot.io (Linux)


Received

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

Live output at: http://107.21.233.14:8877/2503564dfe69c7c/output.txt

@pdfjsbot
Copy link

From: Bot.io (Windows)


Success

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

Total script time: 23.25 mins

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

@pdfjsbot
Copy link

From: Bot.io (Linux)


Success

Full output at http://107.21.233.14:8877/2503564dfe69c7c/output.txt

Total script time: 26.27 mins

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

@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/04c0ce3c6c576a3/output.txt

yurydelendik added a commit that referenced this pull request May 15, 2014
Handle nested post script arguments in the preprocessor
@yurydelendik yurydelendik merged commit 37a6aac into mozilla:master May 15, 2014
@yurydelendik
Copy link
Contributor

Thank you for the patch

@chriskr chriskr deleted the nested-ps-commands branch May 15, 2014 20:58
@ghost
Copy link

ghost commented May 28, 2014

I love you guys. Keep up the good work

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.

None yet

5 participants