You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
clipPath SVG element with transform rendered incorrectly #1634
Issue happens with SVG images with a <clipPath> element. If the children have a transform attribute, the rendering order seems to be wrong. This can result in SVG files having a black backgground.
If the transform attribute is skipped (or scale=1), then the bug doesn't occur.
If using the Web App, the output shows correctly in the document preview. But the downloaded PDF contains the bug. The bug also happens with the Windows compiler.
I noticed that the issue exists in Version 0.4.0 - 0.6.0 (current). In Version 0.3.0, the issue does not occur. I hope this helps for finding the issue.
Please have a look at the shared document. Make sure to download the PDF (the issue doesn't happen in the preview).
Yeah, the current svg conversion library doesn't deal with clip paths very well. The good news is that I'm currently trying to rewrite the library and your svgs look correctly in that case, but it might be a while until the rewrite is completely finished.
Could you add the svg label to this issue as well?
Activity
LaurenzV commentedon Jun 30, 2023
Yeah, the current svg conversion library doesn't deal with clip paths very well. The good news is that I'm currently trying to rewrite the library and your svgs look correctly in that case, but it might be a while until the rewrite is completely finished.
Could you add the
svglabel to this issue as well?LaurenzV commentedon Jul 21, 2023
Will be fixed once this PR gets merged and upstreamed.