Am 21.11.21 um 23:56 schrieb Steve Litt:
Maren Hachmann said on Sun, 21 Nov 2021 17:51:38 +0100
Am 21.11.21 um 01:43 schrieb Steve Litt:
Given that neither multiline text nor connectors are part of the SVG spec, it's no surprise that these are Inkscape additions to SVG, and if a diagram is *ever* saved as Plain SVG, they lose their powers to correctly format. My experimentation tells me that once that happens, you can never get them back again, even if you re-convert to Inkscape SVG.
- Yes, that's correct. Plain SVG does not keep Inkscape-specific metadata.
- Purposely
I purposely save to Plain SVG. I know you've worked very hard to make Inkscape SVG render exactly the same in all SVG viewers as it does in Inkscape, but you cannot possibly control all the crazy code some SVG viewers will use. Although I don't remember specifics, I seem to have memories of Inkscape SVG docs that rendered materially different in some viewers than they did in Inkscape.
- Please try it out with current Inkscape, and report any bugs you find. It works considerably better than it did in the past.
For me, using one text object per line is a minor inconvenience/slowdown.
- And here I was thinking you were writing the book for your readers ...
Inkscape automatically inserts an SVG 1.1 compatible fallback for multiline texts, so they should be rendering correctly in even the oldest renderers.
Using connectors is more interesting. If you like the choices connectors make, you could continue using them until the diagram is finished, then convert to Plain SVG and all would be well. This would require a default width and color on connectors, but so far I haven't found such a default.
Mmmh, okay - in that case, maybe the statement that connectors 'don't work right' is misleading, because they only 'don't work right' because you save as plain SVG for some reason?
Connectors seem to be 1px, black by default, with no way to set that - that's correct, unfortunately. It's comparatively easy to fix, though, using 'select same > fill / stroke' - please make a feature request, that seems to be very useful!).
Do you really think this is worth it for your readers? To lose the ability for the connectors to auto-follow the boxes they're connected to in exchange for a ... default color/width?
Converting to Path is sufficient for the connectors to turn to normal paths.
Good luck with your book! Maren