On 5 Jan 2006, at 01:52, mental@...32... wrote:
Any chance you could post the version of the document with the hairline (or even just a simplified document that shows the problem) so I could examine it to confirm my theory?
The following minimal SVG demonstrates the problem. I actually tidied up the coordinates in the semicircle's path with the XML editor so it was clear that the objects were mathematically contiguous: Inkscape itself was not so precise. But the problem also occurs with the SVG generated by Inkscape. If you zoom the object to 100% (it is then quite small) you will see the hairline. If you zoom it to N x 100%, where N is a multiple of 2, there is no hairline. At all other zoom factors there is a hairline.
Note that the objects have no stroke defined. I thought this might be a factor in the problem, but adding a stroke didn't seem to make any difference (I didn't complete that exercise though).
Steve
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!-- Created with Inkscape (http://www.inkscape.org/) --> <svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://web.resource.org/cc/" 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://inkscape.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" width="60" height="17" id="svg" sodipodi:version="0.32" inkscape:version="0.43" version="1.0" sodipodi:docbase="/Users/steve/Temporary" sodipodi:docname="sample-with-gap.svg"> <defs id="defs" /> <sodipodi:namedview id="base" pagecolor="#ffffff" bordercolor="#666666" borderopacity="1.0" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="9.33033" inkscape:cx="29.93078" inkscape:cy="-1.6075655" inkscape:document-units="px" inkscape:current-layer="button" inkscape:window-width="1440" inkscape:window-height="874" inkscape:window-x="0" inkscape:window-y="0" inkscape:guide-points="false" showgrid="false" inkscape:grid-bbox="false" inkscape:grid-points="false" guidetolerance="0px" /> <metadata id="metadata"> rdf:RDF <cc:Work rdf:about=""> dc:formatimage/svg+xml</dc:format> <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> </cc:Work> </rdf:RDF> </metadata> <g inkscape:label="Button" inkscape:groupmode="layer" id="button" style="display:inline"> <path style="fill:#000000;fill-opacity:0.7" d="M 8.5,1 L 51.5,1 L 51.5,16 L 8.5,16 L 8.5,1 z " id="rect2463" /> <path style="fill:#000000;fill-opacity:0.7" d="M 8.5,16 C 4.36,16 1,12.64 1,8.5 C 1,4.36 4.36,1 8.5,1 C 8.5,1 8.5,1 8.5,1" id="path1769" /> </g> </svg>