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
Unfortunately some lines are misplaced in some diagrams.
I have CairoSVG 2.4.2 and did try pip install --upgrade https://github.com/Kozea/CairoSVG/archive/master.zip to see if commit 1b3d448 would have a fix. They worked the same.
Host is Ubuntu 18.04.4 LTS. Python 3.7.5. plantuml 1:1.2017.15-1, but I also tried agains svg produced by 1.2020.5 from the jar.
I get this:
I really need PDF, which looks much the same deployment.pdf
Other tools (this with rsvg-convert) produce this:
The images were created with these plantuml and svg files: deployment.zip
The bug is caused by the gaussian blur filter. This filter is supposed to move the background rectangle (+4, +4), to blur it and to blend the blur with the original rectangle. As CairoSVG doesn’t support complex filters (see #23), it just moves the rectangle.
A simple workaround is to remove the filter definition: you can remove the <defs> or the <filter> tag from the SVG file. Handling complex filters is almost impossible using Cairo (see Kozea/WeasyPrint#13), so you can’t expect a quick fix for CairoSVG 😒.
I'm using PlantUML for diagramming.
Unfortunately some lines are misplaced in some diagrams.
I have CairoSVG 2.4.2 and did try
pip install --upgrade https://github.com/Kozea/CairoSVG/archive/master.zip
to see if commit 1b3d448 would have a fix. They worked the same.Host is Ubuntu 18.04.4 LTS. Python 3.7.5. plantuml 1:1.2017.15-1, but I also tried agains svg produced by 1.2020.5 from the jar.
I get this:
I really need PDF, which looks much the same deployment.pdf
Other tools (this with rsvg-convert) produce this:
The images were created with these plantuml and svg files:
deployment.zip
Thanks. It looks promising. I did missinglinkelectronics/sphinxcontrib-svg2pdfconverter#7 to hopefully give it more visibility and use.
The text was updated successfully, but these errors were encountered: