Dear all,
Hi, I have created a SVG file, But it could not display this SVG file Correctly? Say, the path Element is not displayed well, there exists many closed black polygons along the path, Seeming that some segment in the path was closed filled with black. But In fact, the path are not closed, why could generate those black polygons along the path? ANY suggestion is highly welcomed! Thanks in advance!
Regards
tao
SVG file Snippet:
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<svg preserveAspectRatio="xMidYMid meet" baseProfile="tiny" viewbox="1905524 8512230 6861 5864" width="100%" height="100%">
<path d="M 1907095 8514216 L 1907247 8514297 L 1907376 8514366 L 1907587 8514478 " stroke="blue" stroke-width="1" />
<path d="M 1908393 8514871 L 1908441 <path d="M 1908180 8515285 L 1908066 8515226 " stroke="blue" stroke-width="1" />
<path d8514783 L 1908490 8514697 " stroke="blue" stroke-width="1" />
<path d="M 1908372 8514634 L 1908422 8514660 L 1908490 8514697 L 1908609 8514760 " stroke="blue" stroke-width="1" />
<path d="M 1909620 8514291 L 1909629 8514297 L 1909746 8514354 L 1909758 8514361 L 1910013 8514488 L 1910138 8514550 L 1910488 8514750 " stroke="blue" stroke-width="1" />
/svg>
PS:there are about 600 paths in this SVG File.
why not display SVG file correctly?
Re: why not display SVG file correctly?
taojia wrote:I have created a SVG file
Using what tools? Just a text editor?
taojia wrote:But it could not display this SVG file Correctly
Inkscape couldn't? What about Firefox of Opera? Did they have the same issues?
taojia wrote:Seeming that some segment in the path was closed filled with black. But In fact, the path are not closed
Did you set a fill when you created the SVG? If you apply a fill to an open path, an imaginary line to drawn directly between the two end nodes which defines a closed area to fill.