I just created a simple block diagram with Inkscape. To my disappointment, the created SVG wasn't rendered on Chrome, Firefox nor KDE default image viewer. Saving it as Plain SVG didn't help either. But when I selected everything, converted to path, and saved as SVG, it was rendered correctly.
I don't want to get into a fault-finding mode. I understand if Inkscape embed some specific runes into its SVG, but is this the way it's supposed to work? I mean, am I expected to do that final convert to path step before releasing the file to the wild?
[solved] Other viewers don't render SVG created with Inkscape
[solved] Other viewers don't render SVG created with Inkscape
Last edited by scape on Sun Aug 07, 2016 11:50 pm, edited 1 time in total.
Re: Other viewers don't render SVG created with Inkscape
Hi!
That converting is a good thing if you want to prevent any further editing of the file.
Other than that, some of inkscape's features are not rendered right in browsers. The flowed text is not part of the svg specs so it's not supported.
Also filtering have issues when the filter is transformed by a matrix -browsers won't render that usually.
However inkscape's goal is creating svg-s that are closest to the svg specification and which are rendered the same on all renderers.
Maybe if you share a sample file some may check if it can be helped.
That converting is a good thing if you want to prevent any further editing of the file.
Other than that, some of inkscape's features are not rendered right in browsers. The flowed text is not part of the svg specs so it's not supported.
Also filtering have issues when the filter is transformed by a matrix -browsers won't render that usually.
However inkscape's goal is creating svg-s that are closest to the svg specification and which are rendered the same on all renderers.
Maybe if you share a sample file some may check if it can be helped.
Re: Other viewers don't render SVG created with Inkscape
I've attached a variant of the file that I was working with. The names have been changed to protect the guilty!
- Attachments
-
- layout.svg
- sample file
- (7.24 KiB) Downloaded 149 times
Re: Other viewers don't render SVG created with Inkscape
That one is quite easy to fix.
The page borders you switched off display the area that gets rendered by browsers as a viewbox.
All of the objects are out of it.
The attached file should work.
The page borders you switched off display the area that gets rendered by browsers as a viewbox.
All of the objects are out of it.
The attached file should work.
- Attachments
-
- layout.svg
- (7.31 KiB) Downloaded 168 times
Re: Other viewers don't render SVG created with Inkscape
Argh, yes. I've been playing around with that file, and didn't realize I went off-road! It makes sense now. Thanks for trying out!
Re: [solved] Other viewers don't render SVG created with Inkscape
You are welcome!