Arc issue in svg file

Post questions on how to use or achieve an effect in Inkscape.
jack000
Posts: 1
Joined: Mon Jul 31, 2017 9:39 am

Arc issue in svg file

Postby jack000 » Mon Jul 31, 2017 9:43 am

I'm trying to open this svg:

Code: Select all

<svg xmlns="http://www.w3.org/2000/svg" data-name="Layer 1" viewBox="0 0 100 100" x="0px" y="0px">
<path d="M7.63,74.21c2.3,3.94,7.37,5.84,14.15,5.84a52.07,52.07,0,0,0,11.55-1.48C37,90.66,43.06,98.4,50,98.4s13-7.74,16.68-19.83a52.06,52.06,0,0,0,11.55,1.48c6.78,0,11.85-1.9,14.15-5.84,1.45-2.48,1.71-5.48.79-8.92-1.26-4.69-4.71-10-9.76-15.29,5.06-5.31,8.51-10.6,9.76-15.29.92-3.44.66-6.44-.79-8.92-3.47-5.95-13.26-7.24-25.7-4.37C63,9.33,56.94,1.6,50,1.6S37,9.33,33.33,21.42c-12.43-2.87-22.22-1.58-25.7,4.37-1.45,2.48-1.71,5.48-.79,8.92,1.26,4.69,4.71,10,9.76,15.29-5.06,5.31-8.51,10.6-9.76,15.29C5.91,68.73,6.18,71.73,7.63,74.21ZM50,94.4c-4.72,0-9.63-6.23-12.87-16.81A96.94,96.94,0,0,0,50,72.83,96.92,96.92,0,0,0,62.87,77.6C59.63,88.17,54.72,94.4,50,94.4ZM33.46,50c0-3.2.13-6.26.36-9.19,2.51-1.72,5.15-3.38,7.9-4.95s5.58-3,8.28-4.31q4,1.91,8.28,4.31c2.75,1.57,5.39,3.23,7.9,4.95.23,2.93.36,6,.36,9.19s-.13,6.26-.36,9.19c-2.51,1.72-5.15,3.38-7.9,4.95s-5.58,3-8.28,4.31q-4-1.91-8.28-4.31c-2.75-1.57-5.39-3.23-7.9-4.95C33.59,56.26,33.46,53.2,33.46,50Zm-3.84,6.17A91.43,91.43,0,0,1,22.29,50a91.43,91.43,0,0,1,7.34-6.17c-.1,2-.16,4.07-.16,6.17S29.52,54.15,29.63,56.17Zm4.73-20.51a87.07,87.07,0,0,1,1.73-9.44,89.47,89.47,0,0,1,9.14,3.23c-1.82.92-3.66,1.9-5.5,2.95S36.1,34.54,34.36,35.65Zm20.41-6.21a89.44,89.44,0,0,1,9.15-3.23,87.08,87.08,0,0,1,1.73,9.44Q63,34,60.26,32.39C58.42,31.34,56.59,30.36,54.76,29.44ZM70.37,43.83A91.43,91.43,0,0,1,77.71,50a91.43,91.43,0,0,1-7.34,6.17c.1-2,.16-4.07.16-6.17S70.48,45.85,70.37,43.83ZM65.64,64.35a87.05,87.05,0,0,1-1.73,9.45,89.69,89.69,0,0,1-9.14-3.24q2.73-1.38,5.49-2.95T65.64,64.35Zm-25.9,3.26q2.75,1.57,5.49,2.95a89.71,89.71,0,0,1-9.14,3.24,87.06,87.06,0,0,1-1.74-9.45Q37,66,39.74,67.61Zm49.18,4.58c-2.36,4-10.29,5.13-21.19,2.6A94.24,94.24,0,0,0,70,61.42a97.66,97.66,0,0,0,10.58-8.6c4.55,4.77,7.66,9.46,8.74,13.5A7.55,7.55,0,0,1,88.92,72.19ZM78.26,23.85c5.37,0,9.15,1.38,10.66,4a7.55,7.55,0,0,1,.38,5.87c-1.08,4-4.19,8.73-8.74,13.5A97.65,97.65,0,0,0,70,38.58a94.25,94.25,0,0,0-2.26-13.36A47.48,47.48,0,0,1,78.26,23.85ZM50,5.6c4.72,0,9.63,6.23,12.87,16.81A96.88,96.88,0,0,0,50,27.17a96.89,96.89,0,0,0-12.87-4.76C40.37,11.83,45.28,5.6,50,5.6ZM11.08,27.81c1.51-2.58,5.29-4,10.66-4a47.49,47.49,0,0,1,10.53,1.37A94.25,94.25,0,0,0,30,38.58a97.66,97.66,0,0,0-10.58,8.6c-4.55-4.77-7.66-9.46-8.74-13.5A7.55,7.55,0,0,1,11.08,27.81ZM10.7,66.32c1.08-4,4.19-8.72,8.74-13.5A97.66,97.66,0,0,0,30,61.42,94.25,94.25,0,0,0,32.28,74.8c-10.9,2.53-18.83,1.44-21.2-2.6A7.55,7.55,0,0,1,10.7,66.32Z"/>
<path d="M50,58.88A8.88,8.88,0,1,0,41.13,50,8.89,8.89,0,0,0,50,58.88Zm0-13.75A4.88,4.88,0,1,1,45.13,50,4.88,4.88,0,0,1,50,45.13Z"/>
</svg>


but it always ends up looking like the attached image. I think the problem might be in the arcs? It appears to be missing a lot of segments when I open it in Inkscape.
Attachments
test.png
test.png (2.23 KiB) Viewed 1813 times

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Arc issue in svg file

Postby Lazur » Mon Jul 31, 2017 4:52 pm

Hi.

Seems working here.
Copy&pasted the svg to notepad++, saved as svg and re-saved it with inkscape 0.92.
Result is attached:
pr.svg
(8.25 KiB) Downloaded 234 times

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: Arc issue in svg file

Postby ~suv » Mon Jul 31, 2017 5:55 pm

Known issue in Inkscape <= 0.91 with certain SVG paths (usually encountered in SVG files processed with an SVG optimizer that minimizes overall size by shortening the length of the 'd' string): Fixed in Inkscape >= 0.92.

Polygon
Posts: 393
Joined: Thu Dec 19, 2013 3:27 am

Re: Arc issue in svg file

Postby Polygon » Mon Jul 31, 2017 6:24 pm

Funny: while Safari browser displays the test=SVG correctly, the same code skipped 5/6 of the holes in Inkscape while Intaglio seems to maintain all parametric elements:
SVG inside Safari.png
SVG inside Safari.png (107.76 KiB) Viewed 1788 times


Cheers
P.


Return to “Help with using Inkscape”