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

Extract CFFParser and Type1Parser from fonts.js #7146

Merged
merged 2 commits into from
Apr 2, 2016
Merged

Extract CFFParser and Type1Parser from fonts.js #7146

merged 2 commits into from
Apr 2, 2016

Conversation

Snuffleupagus
Copy link
Collaborator

Re: #6777.

I've tried to come up with a solution to the SEAC_ANALYSIS_ENABLED mess in the font_spec.js tests.

Unfortunately GitHub chokes on the diff sizes, but I'm not sure how to divide the first patch into smaller chunks unless we put various CFF... classes into separate files!?
Edit: Perhaps it would help if CFFCompiler is separate, but I'm not sure that would be enough to fit within the limits (https://help.github.com/articles/what-are-the-limits-for-viewing-content-and-diffs-in-my-repository/#diff-limits).


This change is Reviewable

@yurydelendik
Copy link
Contributor

Can you add extra commit with asserts or if/throw to check seacAnalysisEnabled !== undefined in the CFFParser and Type1Parser? We will remove that after at least one testing was run.


Reviewed 2 of 5 files at r1, 4 of 4 files at r2.
Review status: all files reviewed at latest revision, 1 unresolved discussion.


src/core/type1_parser.js, line 98 [r2] (raw file):
make seacAnalysisEnabled as argument of convert


Comments from the review on Reviewable.io

@Snuffleupagus
Copy link
Collaborator Author

Done, and thanks for the review comments both here and on IRC!


Review status: all files reviewed at latest revision, 1 unresolved discussion.


src/core/type1_parser.js, line 98 [r2] (raw file):
Done.


Comments from the review on Reviewable.io

@Snuffleupagus
Copy link
Collaborator Author

/botio test

@pdfjsbot
Copy link

pdfjsbot commented Apr 1, 2016

From: Bot.io (Windows)


Received

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

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

@pdfjsbot
Copy link

pdfjsbot commented Apr 1, 2016

From: Bot.io (Linux)


Received

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

Live output at: http://107.21.233.14:8877/58f74f1e97e1c97/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Apr 1, 2016

From: Bot.io (Windows)


Success

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

Total script time: 20.00 mins

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

@pdfjsbot
Copy link

pdfjsbot commented Apr 1, 2016

From: Bot.io (Linux)


Success

Full output at http://107.21.233.14:8877/58f74f1e97e1c97/output.txt

Total script time: 22.05 mins

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

@yurydelendik
Copy link
Contributor

(asserts can be removed)

@Snuffleupagus
Copy link
Collaborator Author

The asserts were removed.

/botio test

@pdfjsbot
Copy link

pdfjsbot commented Apr 2, 2016

From: Bot.io (Windows)


Received

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

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

@pdfjsbot
Copy link

pdfjsbot commented Apr 2, 2016

From: Bot.io (Linux)


Received

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

Live output at: http://107.21.233.14:8877/0da43e60c174590/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Apr 2, 2016

From: Bot.io (Windows)


Success

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

Total script time: 20.48 mins

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

@pdfjsbot
Copy link

pdfjsbot commented Apr 2, 2016

From: Bot.io (Linux)


Success

Full output at http://107.21.233.14:8877/0da43e60c174590/output.txt

Total script time: 22.00 mins

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

@yurydelendik yurydelendik merged commit 34aa915 into mozilla:master Apr 2, 2016
@yurydelendik
Copy link
Contributor

Thank you for the patch.

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.

None yet

3 participants