andym Posted October 22, 2014 Share Posted October 22, 2014 Hi I've just imported an svg file, copied and pasted it into another, did some resizing, changed the layer names, and then exported the combined document (a map with place names) to svg. I ended up with circles being converted into paths. To give one example: <circle cx="210.4" cy="230.6" id="Genova (w9) marker" r="3" class="style0"/> <g id="Genova (w9) label" transform="translate(0,0)" x="215.4" y="230.6"> <text id="Genova (w9) name" x="215.4" y="230.6" class="style1">Genova </text></g> was converted to: <g id="Genova marker"> <path d="M215.887,281.212C217.745,281.212 219.251,282.719 219.251,284.577C219.251,286.435 217.745,287.942 215.887,287.942C214.028,287.942 212.522,286.435 212.522,284.577C212.522,282.719 214.028,281.212 215.887,281.212Z" style="fill:black;fill-opacity:0;stroke-width:1.12px;stroke:black;"/> </g> <g id="Genova name"> <text x="221.494px" y="284.577px" style="font-family:Verdana;font-size:11.2154px;fill:black;">Genov<tspan x="257.112px 263.848px ">a </tspan></text> <text x="221.494px" y="295.792px" style="font-family:Verdana;font-size:11.2154px;fill:black;"> </text> </g> Is there a way I can get it to retain the circles as circles so that I can more easily change the radius? Thanks. Quote Link to comment Share on other sites More sharing options...
Staff Andy Somerfield Posted October 22, 2014 Staff Share Posted October 22, 2014 I think we do <rectangle> properly, but maybe we do circles as paths - I'll ask MattP tomorrow.. Even if we don't, I think it will be easy for us to add.. Thanks, AndyS Quote Link to comment Share on other sites More sharing options...
Staff MattP Posted October 23, 2014 Staff Share Posted October 23, 2014 We import circles as circles. Open the file in the program and look in the layers panel and you'll see that the items in the SVG that were circles now say 'Ellipse' next to them (we don't distinguish Ellipse versus Circle). It's our export to SVG that's turning them into paths, not the import. We can try to look at it, no problem :) Quote Link to comment Share on other sites More sharing options...
andym Posted October 24, 2014 Author Share Posted October 24, 2014 It's our export to SVG that's turning them into paths, not the import. We can try to look at it, no problem :) Thanks a lot - yes as you say I should have said 'export'. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.