Embedded SVG
Jeffrey Lee (213) 6048 posts |
I wonder… icon-home |
Jeffrey Lee (213) 6048 posts |
Interesting. So this example works (ignoring the CSS for now), but this example doesn’t (despite the sample page rendering fine) Next step is to see if it works fine on the wiki (and on RISC OS browsers!), because inline SVG seems like it could be a good way of adding diagrams to many wiki pages (means the diagrams will be versioned & editable, unlike PNGs/etc. which have been uploaded to the wiki) |
Rick Murray (539) 13850 posts |
Will Draw then be updated to support saving SVG files? |
Jeffrey Lee (213) 6048 posts |
Not for some time, I expect! Remember that SVG import would be needed as well, otherwise we’d miss out on the whole “editable” thing. I was planning on just using something like SVG-Edit (which might work under Otter if you’re lucky) |
Rick Murray (539) 13850 posts |
Oh… I thought Draw was able to import SVG, although probably a version twenty years out of date…! |
nemo (145) 2552 posts |
I had SVG support at one point, and then something changed and it broke again. The syntax is a lot more stable now (and a lot more BIG). |
Clive Semmens (2335) 3276 posts |
Very much so. This is why my !XP1Dr2SVG is a one way street. |
Jeffrey Lee (213) 6048 posts |
In case people were wondering – the answer was No, embedded SVG’s don’t work in NetSurf. But maybe SVG diagrams still make sense for the wiki. We can (presumably) upload them using the standard image uploader thing, and they’ll still be more editable than a PNG or JPEG. The only thing we’ll miss out on is proper versioning of changes (people would have to manually add version number suffixes to the filenames, so that the wiki will allow the new version to be uploaded?) |