A few points:
- you can open svg in a browser
- you can _zoom_ svg in a browser for decent results (it's a vector drawing)
- in safari you can select text in an svg (but not Firefox because of a bug, although you can stil <ctrl-c> it)
- much (but not all) of tk canvas has corresponding drawing instructions in svg. unless i'm missing something the subset of tk canvas commands used by Pd all have corresponding instructions in svg
Here's what I want to do (in Debian Wheezy):
- Open pd-extended
- Create new patch
- Create [f]
- Right click to open up float-help.pd (PDDP revised version)
- Click print and save to test.ps
- in cli type:
pstoedit -f plot-svg test.ps test.svg
But I get this error:
**** Warning: glyf overlaps cmap, truncating.
Anyone know what this means? It ends up cropping the top and bottom of the patch. Google search for the error doesn't help much.
In the future it'd probably be better to parse a *.pd file directly to convert to svg, but if I can convert a ps to svg like this I think I can script it and get some nice looking online searchable documentation with very little work. :)
-Jonathan