[solved] Other viewers don't render SVG created with Inkscape

Post questions on how to use or achieve an effect in Inkscape.
scape
Posts: 3
Joined: Sun Aug 07, 2016 8:55 pm

[solved] Other viewers don't render SVG created with Inkscape

Postby scape » Sun Aug 07, 2016 9:02 pm

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?
Last edited by scape on Sun Aug 07, 2016 11:50 pm, edited 1 time in total.

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Other viewers don't render SVG created with Inkscape

Postby Lazur » Sun Aug 07, 2016 10:21 pm

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.

scape
Posts: 3
Joined: Sun Aug 07, 2016 8:55 pm

Re: Other viewers don't render SVG created with Inkscape

Postby scape » Sun Aug 07, 2016 10:39 pm

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

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Other viewers don't render SVG created with Inkscape

Postby Lazur » Sun Aug 07, 2016 11:07 pm

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.
Attachments
layout.svg
(7.31 KiB) Downloaded 168 times

scape
Posts: 3
Joined: Sun Aug 07, 2016 8:55 pm

Re: Other viewers don't render SVG created with Inkscape

Postby scape » Sun Aug 07, 2016 11:49 pm

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!

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: [solved] Other viewers don't render SVG created with Inkscape

Postby Lazur » Mon Aug 08, 2016 12:39 am

You are welcome!


Return to “Help with using Inkscape”