Do you know why my simple shapes are being converted to paths (which are more complex shapes)?

29 views
Skip to first unread message

Heather Palmer

unread,
Sep 6, 2017, 6:41:58 PM9/6/17
to Fontello

I would like to have the generator keep my concise clean code, versus converting to paths....is that possible?

My file versus what the SVG generator creates: codepen


My svg:

<svg id="cancel" viewBox="0 0 25 25" fill="none" stroke="#000" stroke-width="0.8px" stroke-linecap="round">
    <title>Cancel</title>
    <circle cx="12.5" cy="12.53" r="12.08" vector-effect="non-scaling-stroke"/>
    <line x1="17.86" y1="7.86" x2="7.86" y2="17.86" vector-effect="non-scaling-stroke"/>
    <line x1="17.84" y1="17.84" x2="7.88" y2="7.88" vector-effect="non-scaling-stroke"/>
</svg>

Generator svg:

<svg viewBox="0 0 25 25">
<title>cancel</title>
<path fill="none" stroke="#000" stroke-width="0.8" stroke-miterlimit="4" stroke-linecap="round" stroke-linejoin="miter" d="M24.58 12.53c0 6.672-5.408 12.080-12.080 12.080s-12.080-5.408-12.080-12.080c0-6.672 5.408-12.080 12.080-12.080s12.080 5.408 12.080 12.080z"></path>
<path fill="none" stroke="#000" stroke-width="0.8" stroke-miterlimit="4" stroke-linecap="round" stroke-linejoin="miter" d="M17.86 7.86l-10 10"></path>
<path fill="none" stroke="#000" stroke-width="0.8" stroke-miterlimit="4" stroke-linecap="round" stroke-linejoin="miter" d="M17.84 17.84l-9.96-9.96"></path>
</svg>


Reply all
Reply to author
Forward
0 new messages