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

Implement tiling patterns for the SVG back-end #10902

Merged
merged 1 commit into from
Jun 28, 2019
Merged

Implement tiling patterns for the SVG back-end #10902

merged 1 commit into from
Jun 28, 2019

Conversation

ahuglajbclajep
Copy link
Contributor

@ahuglajbclajep ahuglajbclajep commented Jun 14, 2019

It may not be perfect, but some PDFs, such as #10796, can be rendered.

Fixes #10796.
Improves #4985.

Copy link
Contributor

@timvandermeij timvandermeij left a comment

Choose a reason for hiding this comment

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

I haven't tested this yet, but I really like that the implementation is short and easy to follow!

It may not be perfect, [...]

That's perfectly okay, in fact, it's much easier to review/merge if the patch is small. It's always preferred to have multiple smaller iterations than one big patch.

src/display/svg.js Outdated Show resolved Hide resolved
src/display/svg.js Outdated Show resolved Hide resolved
@timvandermeij
Copy link
Contributor

/botio-linux preview

@timvandermeij timvandermeij changed the title Implement tiling-pattern. Implement tiling patterns for the SVG back-end Jun 18, 2019
Copy link
Contributor

@timvandermeij timvandermeij left a comment

Choose a reason for hiding this comment

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

I think this is good to merge when the final comment is addressed. I have updated the title and the description of the pull request with additional details and which issues are fixed/improved by this patch.

After you've made the final changes, please squash the commits into one commit. You can check https://github.com/mozilla/pdf.js/wiki/Squashing-Commits for how to do that easily. Thank you!

src/display/svg.js Show resolved Hide resolved
src/display/svg.js Outdated Show resolved Hide resolved
@ahuglajbclajep
Copy link
Contributor Author

@timvandermeij @janpe2 Please review it.

@mozilla mozilla deleted a comment from pdfjsbot Jun 28, 2019
@mozilla mozilla deleted a comment from pdfjsbot Jun 28, 2019
@timvandermeij
Copy link
Contributor

/botio-linux preview

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Received

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

Live output at: http://54.67.70.0:8877/8a56dc878364310/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Success

Full output at http://54.67.70.0:8877/8a56dc878364310/output.txt

Total script time: 1.90 mins

Published

@timvandermeij timvandermeij merged commit 7fc329d into mozilla:master Jun 28, 2019
@timvandermeij
Copy link
Contributor

Nice work; thank you for improving the SVG back-end!

@ahuglajbclajep ahuglajbclajep deleted the tiling-pattern-support branch June 28, 2019 11:52
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.

When converting to SVG the "fill-opacity: 1" attribute should not be added if the "fill" attribute is missing
4 participants