GNOME Bugzilla – Bug 169191
paths in svg
Last modified: 2009-08-15 18:40:50 UTC
I have generated a .svg file by using dia. It looks like: <?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/PR-SVG-20010719/ DTD/svg10.dtd"> <svg width="12cm" height="7cm" viewBox="2 4 12 7"> <path style="fill: none; fill-opacity:0; stroke-width: 0.4; stroke: #ffa600" d="M 5 5 C 10,5 5,11 14,11"/> <line style="fill: none; fill-opacity:0; stroke-width: 0.5; stroke: #ffa600" x1="3" y1="5" x2="3" y2="11"/> </svg> The problem is, that dia cannot import the path. Line is correct.
What does Dia say when you try to use it?
Looking at the code this isn't at all needinfo - but needcode ;-) *** This bug has been marked as a duplicate of 108502 ***
Now this one is fixed - but still much SVG can not be read ... 2005-03-06 Hans Breuer <hans@breuer.org> * lib/dia_svg.[hc](dia_svg_parse_path) : new function copied and adapted from objects/custom/shape_info.c to be shared with object/custom and plug-in/svg -> finally the C based svg-import reads pathes again. Added arc parsing while I was there, which fixes bug #169191