[GIS] Why are some SVGs not displayed properly in print composer

print-composerqgissvg

I am having weird problem with adding .svg to qgis print composer. I have done some smaller symbols before in inkscape and they work – however the latest one displayed itself as huge black square.

I -did- find a very round about way of making it work, but I havent slightest idea why it works like this: First I saved the .svg in Inkscape as pdf file, then used http://www.online-convert.com/ to convert the .pdf back to .svg ….and after this QGIS displays it fine in print composer.

Does anyone have any idea why this happens? I have added the working and original not working .svg's as uploads, if someone wants to try it out.

http://speedy.sh/XGMWs/Svg-example.zip

Best Answer

I got it working. It seems print composer does not like .svg's with text. I used inkscape "object to path" -function on both text's I had on the original .svg and now it displays properly. I also tested this on another .svg with text: It didnt display in print composer, until I used the same "Object to path" to change the texts into paths

Correction - I thought, I got it working, but now its broken again. Been 14h at work, Ill get back to this after weekend..

Related Question