Closed linwaytin closed 12 hours ago
I test it on a few other rendering engines. Firefox: Ok Inkscape: Ok resvg: Wrong, similar to librsvg.
Did you try turning off SVG2.0?
zm.config.svg2 = False
Some SVG renderers aren't compatible with the still draft SVG 2.0 specification, so this may help.
I found this problem on Emacs. Emacs uses librsvg for svg rendering, so I also try another program, imv, which also uses librsvg. The issue is that librsvg has trouble to show content in the svg files generated from ziamath. Most time I see nothing (a blank canvas).
Does the generated svg contain some non-standard code? Or the problem is from librsvg?
I like this package and hopefully can use it more. Thank you.