{"action":"closed","issue":{"url":"https://api.github.com/repos/Chlumsky/msdfgen/issues/34","repository_url":"https://api.github.com/repos/Chlumsky/msdfgen","labels_url":"https://api.github.com/repos/Chlumsky/msdfgen/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/Chlumsky/msdfgen/issues/34/comments","events_url":"https://api.github.com/repos/Chlumsky/msdfgen/issues/34/events","html_url":"https://github.com/Chlumsky/msdfgen/issues/34","id":206917464,"number":34,"title":"Corners bleed out when generating distance field","user":{"login":"Cultrarius","id":6640545,"avatar_url":"https://avatars1.githubusercontent.com/u/6640545?v=3","gravatar_id":"","url":"https://api.github.com/users/Cultrarius","html_url":"https://github.com/Cultrarius","followers_url":"https://api.github.com/users/Cultrarius/followers","following_url":"https://api.github.com/users/Cultrarius/following{/other_user}","gists_url":"https://api.github.com/users/Cultrarius/gists{/gist_id}","starred_url":"https://api.github.com/users/Cultrarius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cultrarius/subscriptions","organizations_url":"https://api.github.com/users/Cultrarius/orgs","repos_url":"https://api.github.com/users/Cultrarius/repos","events_url":"https://api.github.com/users/Cultrarius/events{/privacy}","received_events_url":"https://api.github.com/users/Cultrarius/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-02-10T22:00:08Z","updated_at":"2017-03-09T08:57:00Z","closed_at":"2017-03-09T08:57:00Z","body":"Hey,\r\n\r\nI have a problem when trying to convert SVGs into distance fields with your project.\r\nVery often, the corner or \"end points\" of the SVG paths are bleeding out into the distance field, as if the shape intersected itself at that point.\r\nThe source SVG file can be found here: http://tiny.cc/3524iy\r\n\r\nSee the following simple shape as an example:\r\n<img width=\"720\" alt=\"teardrop\" src=\"https://cloud.githubusercontent.com/assets/6640545/22845328/68dee432-efe2-11e6-8e4d-002d670dfaeb.png\">\r\n\r\nThe result looks like this:\r\n<img width=\"385\" alt=\"teardrop_msdf_result\" src=\"https://cloud.githubusercontent.com/assets/6640545/22845517/425d6954-efe3-11e6-9cfd-241bf173a03b.png\">\r\n\r\nThe problem, as you can see, is the hole in the lower left corner, which will be rendered filled as the shape itself.\r\n\r\n**No matter what options I use, the result it always the same. Could you please tell me what the problem is and how I could mitigate it?**\r\n\r\nMaking the corner \"smooth\" by moving the fourth control point of the bezier curve around creates a good result, but it also substitutes the sharp corner with a round one:\r\n\r\n<img width=\"385\" alt=\"teardrop_msdf_result_good\" src=\"https://cloud.githubusercontent.com/assets/6640545/22845622/d3b86110-efe3-11e6-9c3f-79c76c559b92.png\">\r\n"}}
{"actor":{"display_login":"Cultrarius"}}