Code: Select all
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with fpVectorial (http://wiki.lazarus.freepascal.org/fpvectorial) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
width="100mm"
height="100mm"
id="svg2"
version="1.1"
sodipodi:docname="New document 1">
<g id="layer1">
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 0mm,20mm 30mm,30mm "
id="path0" />
</g>
</svg>
But Inkscape doesn't render this file. It will render if I change the path to this: d="m 0,20 30,30 "
But then there are no real world units, only pixels! And I've openned the file with Inkscape and it doesn't match the same amounts I wanted in milimiters. Is it impossible to specify paths with real world units?
If it is impossible, then what do people do? Hardcode to DPI 72?
If it is indeed like that this is a very serious shortcoming for the SVG format...
thanks,