
I guess for print resolutions (300 dpi and above) the accuracy when working with pixels is below 1/10 of a millimetre so working in mm should not be a pr
oblem. Or am I mistaken again?
Andi
SVG drawing accuracy is only limited by the number of significant digits you choose to use. It is not limited by the choice of units! Inkscape has a setting to control the number of significant digits (I think the default is eight). Look under "Inkscape Preferences --> SVG output".
SVG syntax allows lengths to be specified with one of the following units: px, em, ex, pt, pc, cm, mm, and in. The SVG spec defines 1in=90px. Thus one thousandth of an inch can be spcified as 0.09, .09px, 0.001in, or 0.0254000mm. You may find when you specify units other than pixels that Inkscape will silently convert to pixels; this is a good thing because not all programs honor the 1in=90px standard. Firefox will assume 1in=96px.
The following drawing yeilds three equal sized squres in Inkscape but in Firefox the first square is smaller. ########################################### <?xml version="1.0" standalone="no"?> <svg version="1.1" width="8.5in" height="11in" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg"> <g style="fill:none;stroke:green;stroke-width:5px"> <rect x="1in" y="1in" width="90" height="90"/> <rect x="1in" y="2.1in" width="1in" height="1in"/> <rect x="1in" y="3.2in" width="25.4mm" height="25.4mm"/> </g> </svg> ###########################################
Note: SVG syntax does not allow "<path>" elements to contain units. i.e. path elements can use pixels only.
-crjw