{"action":"opened","issue":{"url":"https://api.github.com/repos/paperjs/paper.js/issues/1190","repository_url":"https://api.github.com/repos/paperjs/paper.js","labels_url":"https://api.github.com/repos/paperjs/paper.js/issues/1190/labels{/name}","comments_url":"https://api.github.com/repos/paperjs/paper.js/issues/1190/comments","events_url":"https://api.github.com/repos/paperjs/paper.js/issues/1190/events","html_url":"https://github.com/paperjs/paper.js/issues/1190","id":185294278,"number":1190,"title":"SVG Path Rendering Issue","user":{"login":"mikechambers","id":37918,"avatar_url":"https://avatars.githubusercontent.com/u/37918?v=3","gravatar_id":"","url":"https://api.github.com/users/mikechambers","html_url":"https://github.com/mikechambers","followers_url":"https://api.github.com/users/mikechambers/followers","following_url":"https://api.github.com/users/mikechambers/following{/other_user}","gists_url":"https://api.github.com/users/mikechambers/gists{/gist_id}","starred_url":"https://api.github.com/users/mikechambers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikechambers/subscriptions","organizations_url":"https://api.github.com/users/mikechambers/orgs","repos_url":"https://api.github.com/users/mikechambers/repos","events_url":"https://api.github.com/users/mikechambers/events{/privacy}","received_events_url":"https://api.github.com/users/mikechambers/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-26T04:25:10Z","updated_at":"2016-10-26T04:25:10Z","closed_at":null,"body":"PaperJS v0.10.2\r\nMac 10.11.5\r\nGoogle Chrome  54.0.2840.71 (64-bit)\r\n\r\nLoading the attached SVG leads to some errors in the rendering in PaperJS (notice the A). Note, these are SVG paths, not text.\r\n\r\nI have attached an example project, the SVG, and images of the SVG rendered directly in Google Chrome (on Mac), and via PaperJS.\r\n\r\n`    <script type=\"text/paperscript\" canvas=\"myCanvas\">\r\n    \t\r\n        var svg = project.importSVG(\"assets/create.svg\", {\r\n            onLoad : function(item, rawSVG) {\r\n                item.position = view.center;\r\n            }\r\n        });\r\n\r\n    </script>`\r\n\r\n\r\n`<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"431.82\" height=\"73.2\" viewBox=\"0 0 431.82 73.2\">\r\n  <title>create</title>\r\n  <g id=\"create\">\r\n    <path d=\"M117.05,312.8c0,19.3,5.5,28.3,16.4,28.3,9.9,0,13.8-6.1,16.5-16.8h7.5l-0.7,23.6h-6.6c-0.7-2.1-1.2-3.2-2.5-3.2-2,0-6.5,4.4-16.7,4.4-18.2,0-31.6-10.7-31.6-36.2,0-23.7,15-36,32.1-36,9.3,0,13.3,3.9,15.5,3.9,1.4,0,1.9-1.2,2.7-3h6.2l0.7,23.2h-7.5c-2.4-10.3-6.4-16.3-15.6-16.3S117.05,291.4,117.05,312.8Z\" transform=\"translate(-98.85 -276.4)\" style=\"fill: none;stroke: #231f20;stroke-miterlimit: 10\"/>\r\n    <path d=\"M197.85,315.8v23.8l6.7,0.8V348h-29.9v-7.6l6.8-.8V286.3l-6.8-.8V278h25c14.8,0,29.4,2.3,29.4,16.9,0,11.6-7,15.7-18.5,16.6v0.3c12.3,1.4,16.9,5.6,16.9,17.2v6.6c0,3.4.3,5.4,3.3,5.4,3.2,0,3.7-3.2,4.5-9.2l5,0.7c-0.4,9.9-3.6,16.6-15.1,16.6-8.8,0-14.1-4.5-14.1-15.8v-7.8c0-6.5-2.4-9.7-8.9-9.7h-4.3Zm0-7h1.3c9.1,0,12.9-3.9,12.9-11.9s-4-10.6-12.3-10.6h-1.9v22.5Z\" transform=\"translate(-98.85 -276.4)\" style=\"fill: none;stroke: #231f20;stroke-miterlimit: 10\"/>\r\n    <path d=\"M307.05,278l0.8,21.9h-7.2c-2.5-11.5-6.5-13.9-18.6-13.9h-5.4v22.9H279c6.5,0,8.6-2.6,10-10.9h5.8v29.6h-6c-1.5-10-3.4-11.7-10.3-11.7h-1.8v23.9h5.1c14.7,0,18.9-4,21-16.9h7.1l-0.8,25.1H254v-7.4l6.2-.8V286.3l-6.2-.8V278h53Z\" transform=\"translate(-98.85 -276.4)\" style=\"fill: none;stroke: #231f20;stroke-miterlimit: 10\"/>\r\n    <path d=\"M365.25,328.3h-20.9l-3.8,11.4,6.8,0.8V348h-23v-7.5l6.1-.8L353,277.8h12.6l21.5,61.9,6.6,0.8V348h-31.9v-7.5l7.1-.8Zm-18.6-7.8h16.4l-7.4-25h-0.3Z\" transform=\"translate(-98.85 -276.4)\" style=\"fill: none;stroke: #231f20;stroke-miterlimit: 10\"/>\r\n    <path d=\"M458.85,301.8h-7.1c-2.5-13.9-5.1-15.6-15.1-15.6v53.5l9.2,0.8V348h-34.7v-7.5l9.1-.8V286.2c-10.1,0-12.9,2.5-15.1,15.6h-7.2l1-23.8h59Z\" transform=\"translate(-98.85 -276.4)\" style=\"fill: none;stroke: #231f20;stroke-miterlimit: 10\"/>\r\n    <path d=\"M527.35,278l0.8,21.9H521c-2.5-11.5-6.5-13.9-18.6-13.9H497v22.9h2.3c6.5,0,8.6-2.6,10-10.9h5.8v29.6h-6c-1.5-10-3.4-11.7-10.3-11.7H497v23.9h5.1c14.7,0,18.9-4,21-16.9h7.1l-0.8,25.1h-55v-7.4l6.2-.8V286.3l-6.2-.8V278h53Z\" transform=\"translate(-98.85 -276.4)\" style=\"fill: none;stroke: #231f20;stroke-miterlimit: 10\"/>\r\n  </g>\r\n</svg>\r\n`\r\n\r\n\r\n![output](https://cloud.githubusercontent.com/assets/37918/19713201/efc0fa60-9af8-11e6-9e49-e4ff9cd8a3da.png)\r\n![original](https://cloud.githubusercontent.com/assets/37918/19713202/efc30be8-9af8-11e6-93e7-259d48d1e533.png)\r\n\r\n[svg_bug.zip](https://github.com/paperjs/paper.js/files/552335/svg_bug.zip)\r\n\r\n\r\n"}}
{"actor":{"display_login":"mikechambers"}}