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?
@felipe just basic outputting of some rectangles and text boxes.
@foone anything against dropping down to just writing a XML with a XML library? Worked out okay for me for generating plots for papers (I needed some circular plots).
@felipe yeah that's the opposite direction of what I need. I need my code to be able to know how big text objects will be when rendered, which is something my SVG library can't deliver
@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 don't forget svgwrite! python's embrace of TMTOWTDI is encroaching on perl's philosophy
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!