{"action":"created","issue":{"url":"https://api.github.com/repos/devongovett/fontkit/issues/76","repository_url":"https://api.github.com/repos/devongovett/fontkit","labels_url":"https://api.github.com/repos/devongovett/fontkit/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/devongovett/fontkit/issues/76/comments","events_url":"https://api.github.com/repos/devongovett/fontkit/issues/76/events","html_url":"https://github.com/devongovett/fontkit/issues/76","id":217016961,"number":76,"title":"Export path to SVG","user":{"login":"pwichmann","id":13521375,"avatar_url":"https://avatars0.githubusercontent.com/u/13521375?v=3","gravatar_id":"","url":"https://api.github.com/users/pwichmann","html_url":"https://github.com/pwichmann","followers_url":"https://api.github.com/users/pwichmann/followers","following_url":"https://api.github.com/users/pwichmann/following{/other_user}","gists_url":"https://api.github.com/users/pwichmann/gists{/gist_id}","starred_url":"https://api.github.com/users/pwichmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwichmann/subscriptions","organizations_url":"https://api.github.com/users/pwichmann/orgs","repos_url":"https://api.github.com/users/pwichmann/repos","events_url":"https://api.github.com/users/pwichmann/events{/privacy}","received_events_url":"https://api.github.com/users/pwichmann/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-26T00:48:43Z","updated_at":"2017-03-26T00:59:40Z","closed_at":"2017-03-26T00:59:40Z","body":"First of all, thank you very much for the library. This looks super helpful.\r\n\r\nI was trying to get an SVG for a string or letter, so that I can further process it in paper.js.\r\n\r\nNow, what I receive from this method ```var svg = run.glyphs[0].path.toSVG();``` is not what I expected. I received a complex series like this:\r\n\r\n> M219 1233L211 722Q247 712 319 712L397 712L397 755Q397 849 383 1037.5Q369 1226 369 1320Q369 1343 386.5 1358.5Q404 1374 417.5 1374Q431 1374 441 [...]\r\n\r\nHowever, I would have expected a well-formatted XML/SVG string.\r\n\r\nI am a total noob as should be obvious by now. But how would I be able to obtain an SVG string from the series above?"},"comment":{"url":"https://api.github.com/repos/devongovett/fontkit/issues/comments/289250488","html_url":"https://github.com/devongovett/fontkit/issues/76#issuecomment-289250488","issue_url":"https://api.github.com/repos/devongovett/fontkit/issues/76","id":289250488,"user":{"login":"pwichmann","id":13521375,"avatar_url":"https://avatars0.githubusercontent.com/u/13521375?v=3","gravatar_id":"","url":"https://api.github.com/users/pwichmann","html_url":"https://github.com/pwichmann","followers_url":"https://api.github.com/users/pwichmann/followers","following_url":"https://api.github.com/users/pwichmann/following{/other_user}","gists_url":"https://api.github.com/users/pwichmann/gists{/gist_id}","starred_url":"https://api.github.com/users/pwichmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwichmann/subscriptions","organizations_url":"https://api.github.com/users/pwichmann/orgs","repos_url":"https://api.github.com/users/pwichmann/repos","events_url":"https://api.github.com/users/pwichmann/events{/privacy}","received_events_url":"https://api.github.com/users/pwichmann/received_events","type":"User","site_admin":false},"created_at":"2017-03-26T00:59:40Z","updated_at":"2017-03-26T00:59:40Z","body":"I am indeed stupid. For all other stupid people out there:\r\n\r\nWhat you get is the d-part of the SVG string:\r\n\r\n```\r\n<svg height=\"210\" width=\"400\">\r\n  <path d=\"M150 0 L75 200 L225 200 Z\" />\r\n</svg>\r\n```"}}
{"actor":{"display_login":"pwichmann"}}