Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add support for vector-effect property #148

Merged
merged 2 commits into from
Feb 12, 2022
Merged

Conversation

yowzadave
Copy link
Contributor

This PR is intended to address the issue noted in #113.

Not being familiar with the SVG-to-PDFKit codebase, it's possible that I've missed cases where this fails; it does seem to work for the example file here:

https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/vector-effect#example_vector-effectnon-scaling-stroke

Only "non-scaling-stroke" and "none" are supported options; according to https://caniuse.com/vector-effect , the other properties are generally unsupported and at risk of being deprecated.

@alafr alafr merged commit 494d7e2 into alafr:master Feb 12, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants