Advertisement


Problem saving svg with inkscape


Question

I just started playing with inkscape on Ubuntu, and I'm facing a problem when I'm saving svg files. When I save my file and close it, the miniature in Nautilus doesn't correspond to the file itself. Some items are missing, and I can't figure out why.

When I open the files with inkscape, there is no problem,everything is there. But if I open the file with anything else (Gimp, for example), the items that were not present on the miniature are not there.

I tried saving with all different svg options that inkscape offers, and I can't figure out a solution.

Can someone help me ?

Thanks!

Here's an example of a problematic file: http://www.filedropper.com/asaisir2

2015/12/30
1
1
12/30/2015 9:37:00 AM

Accepted Answer

SVGs can contain several types of objects such as paths (Bézier polygons), rectangles, circles, or text. Moreover, Inkscape supports extensions to these objects for its own purposes that are not part of the SVG standard (saving as plain SVG instead of Inkscape SVG should get rid of the latter).

Now, some SVG renderers ignore certain types of objects such as text, or they render them differently (e.g., due to a lacking font). This is probably what happened with your thumbnail view. For example, applying Object to Path on your text may cause it to be rendered in your thumbnail view. However, you lose the advantages of having a text object, such as hinting or the ability to edit the text.

So, there was no problem with saving your SVG, but with rendering it. If your target application renders your SVG as intended, you have no reason to worry.

2015/12/30
4
12/30/2015 10:20:00 AM