I have a question mark svg that looks like this:
<svg xmlns="http://www.w3.org/2000/svg" width="29" height="29" viewBox="0 0 29 29">
<g id="Groupe_114" data-name="Groupe 114" transform="translate(-1503 -141)">
<g id="Ellipse_35" data-name="Ellipse 35" transform="translate(1503 141)" fill="none" stroke="#D8D8D8" stroke-width="1">
<circle cx="14.5" cy="14.5" r="14.5" stroke="none"/>
<circle cx="14.5" cy="14.5" r="14" fill="none"/>
</g>
<text id="_" data-name="?" transform="translate(1512 163)" fill="#D8D8D8" font-size="20" font-family="Montserrat-Regular, Montserrat"><tspan x="0" y="0">?</tspan></text>
</g>
</svg>
It is effectively an SVG
of an info question mark inside a circle. What I needed to do was to convert it to SVG
paths inside so I could bundle it directly inside my code. I followed the instructions over here using GIMP
, but final path that I get is just of the outside circle, not of the inside question mark. This is what I get:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg xmlns="http://www.w3.org/2000/svg"
width="0.322222in" height="0.322222in"
viewBox="0 0 29 29">
<path id="Imported Path"
fill="none" stroke="black" stroke-width="1"
d="M 28.50,14.50
C 28.50,22.23 22.23,28.50 14.50,28.50
6.77,28.50 0.50,22.23 0.50,14.50
0.50,6.77 6.77,0.50 14.50,0.50
22.23,0.50 28.50,6.77 28.50,14.50 Z
M 29.00,14.50
C 29.00,22.51 22.51,29.00 14.50,29.00
6.49,29.00 0.00,22.51 0.00,14.50
0.00,6.49 6.49,0.00 14.50,0.00
22.51,0.00 29.00,6.49 29.00,14.50 Z" />
</svg>
I have used GIMP before for converting another SVG symbol, and it worked okay with that, so I am not sure why is GIMP returning the path of just the outside circle. Could anyone let me know how to best convert to paths so that I can get the path of the outer circle as well as the question mark inside? Thank you!