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
Thanks for the report. That definitely looks like a bug.
My guess is that the SVG generation code (the part that replaces multiple uses of an element with a single def and references) doesn't consider the case where you append to defs but don't use it.
I am trying to use
drawsvg.Raw
to load some svg snippets into<defs>
manually and use the defs later in the drawing.I am facing the following issue:
Example
Expected output
Actual output
My workaround:
But I guess
Drawing.append_def
should be changed so the above output which does not make sense cannot happen in the first place.The text was updated successfully, but these errors were encountered: