title: Distorted result with fabric.loadSVGFromString
body: <p>I've edited an SVG with inkscape :</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" standalone="no"?&gt;
  &lt;svg id="svg2816" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" version="1.1" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/"&gt;
   &lt;defs id="defs2818"&gt;&lt;/defs&gt;
   &lt;metadata id="metadata2821"&gt;
    &lt;rdf:RDF&gt;
     &lt;cc:Work rdf:about=""&gt;
      &lt;dc:format&gt;image/svg+xml&lt;/dc:format&gt;
      &lt;dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/&gt;
      &lt;dc:title/&gt;
     &lt;/cc:Work&gt;
    &lt;/rdf:RDF&gt;
   &lt;/metadata&gt;
   &lt;g id="layer1" stroke-linejoin="miter" stroke="#ce3762" stroke-linecap="butt"&gt;
    &lt;path id="path2828" style="stroke-dasharray:none;" d="M40,3,35,3,20,18,10,18s-5,5,0,10h10l15,15h5v-40z" transform="translate(-5,0)" stroke-miterlimit="4" stroke-width="0.5" fill="#42101e"/&gt;
    &lt;path id="path2830" d="m37,13s2,7.5359,0,15" transform="translate(0,2)" stroke-width="1px" fill="none"/&gt;
    &lt;path id="path2834" d="m40,11s3,10,0,19" transform="translate(0,2)" stroke-width="1px" fill="none"/&gt;
    &lt;path id="path2836" d="m43,6s6,14,0,29" transform="translate(0,2)" stroke-width="1px" fill="none"/&gt;
   &lt;/g&gt;
  &lt;/svg&gt;
  </code></pre>
  
  <p>It should look like this:</p>
  
  <p><img src="https://i.stack.imgur.com/rBW2q.jpg" alt="enter image description here"></p>
  
  <p>When I import it with fabricjs :</p>
  
  <pre><code>// volumeOnPrint is the string pasted before
  fabric.loadSVGFromString(volumeOnPrint, function(objects, options) {
      var widget = new fabric.PathGroup(objects, options);
      // root is my fabricjs canvas
      root.add(widget);
  });
  </code></pre>
  
  <p>It get that :</p>
  
  <p><img src="https://i.stack.imgur.com/fWzuX.png" alt="enter image description here"></p>
  
  <p>(The background is not the issue, it's the one of my canvas)</p>