for strokes with svg_stroke=='none' when using wxPython >= 4.1. At least
under MacOS this results in an exception
wx._core.wxAssertionError: C++ assertion "retval != __null" failed at /Users/robind/projects/bb2/dist-osx-py38/build/ext/wxWidgets/src/osx/carbon/graphics.cpp(116) in wxMacCreateCGColor():
This commit adds style=wx.PENSTYLE_TRANSPARENT to the pen definition
which seems to resolve the problem while still resulting in correct output.
svgrender uses a pen defined by
for strokes with svg_stroke=='none' when using wxPython >= 4.1. At least under MacOS this results in an exception
This commit adds
style=wx.PENSTYLE_TRANSPARENT
to the pen definition which seems to resolve the problem while still resulting in correct output.