deciding on which SVG library to use based on which one has docs online, thanks to random server downtime
SVG is a great format to automatically generate images in unless you care what the output looks like
I reached the point where all I can really justify doing is generating an SVG that's vaguely close to what I need, then I'll manually fix 150 elements because there's no way I can make this script output them correctly
@foone out of curiosity, what features from the library are you using?
@foone I have fond memories of modifying svgs with sed
inkscape should let me use two mice at once. one to manipulate objects, and one to scroll around. I have two hands, why can't I do this?
@foone We released our python svg library to pypi last year: https://pypi.org/project/inkex/ as there wasn't an existing library that could do all the things we needed to do.
@foone I've done quite a bit of svg exporting. No libs, I fprintf the raw xml myself. What sort of thing are you trying to do?
@foone
I'm using SVG in Nonpareil II, partially automatically generated, and it's taken me an immense amount of manual fuckery and even more finding out, to get it to be even vaguely similar to what I want.
@foone postscript is easier and probably more reliable.
@foone don't forget svgwrite! python's embrace of TMTOWTDI is encroaching on perl's philosophy
@foone
I didn't find any SVG library I particularly like. Ijust emitted the SVG directly from C++ using std::format()
(basically equivalent to printf)
svg.py is the more supported recommended one... but the docs were down at the time and I wanted to get this script out fast, so svgwrite it is!