-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
<mask>
area doesn't get expanded beyond object's bounding box
#65
Comments
This should be fixed in the latest snapshot |
Trying out current 1.5.0-SNAPSHOT (
Notice the circular hole is bigger than the debug overlay that uses the same path as for the mask. A thick semi-transparent ring is also visible. |
This is related to #66. I have a fix locally, will push once #67 is resolved. I noticed that the library I am using to compare images in tests doesn’t handle transparent pixels and thus multiple tests have failed silently for the past few versions. I need to catch up with those before work on subpixel alignment can be continued. |
This isn't fully correct either but works for most SVGs out there. Relates to #65
Just tried with a current 1.5.0-SNAPSHOT – it now (currently) appears just right. |
It appears
<mask>
area doesn't get expanded beyond the bounding box of the object it is applied to:It could "shrink" inside the object's bounding box, though. The most apparent effect is that a stroke that goes beyond the object's bounding box gets clipped from view.
mask-0.svg
mask-1.svg
mask-2.svg
Initially found in #64 (comment)
The text was updated successfully, but these errors were encountered: