Closed cbeytas closed 2 years ago
Rendering to PDF throws an exception. I suppose this is a Reportlab issue, not svglib.
File "C:\Python38\lib\site-packages\reportlab\pdfgen\canvas.py", line 1778, in setDash
raise ValueError('setDash: array=%r phase=%r\n%s' % (array, phase, reason))
ValueError: setDash: array=[0.0] phase=0
dash cycle should be larger than zero
If
stroke-dasharray="0"
is specified, renderPM freezes up using 100% CPU. All major browsers (Chrome, Firefox, Edge) render it as a solid line.