I'm trying to save my list of paths to svg using 'cm' as units. I call disvg with viewport and baseunit parameters set (but not dimentions). The baseunit value is ignored and svg is created in px instead of cm.
It seems like the bug is in this expression, which needs to include baseunit parameter into the dimensions definition:
|
dimensions = viewbox.split(' ')[2:4] |
I'm trying to save my list of paths to svg using 'cm' as units. I call disvg with
viewportandbaseunitparameters set (but notdimentions). Thebaseunitvalue is ignored and svg is created in px instead of cm.It seems like the bug is in this expression, which needs to include
baseunitparameter into the dimensions definition:svgpathtools/svgpathtools/paths2svg.py
Line 266 in fcb648b