{"action":"closed","issue":{"url":"https://api.github.com/repos/typemytype/booleanOperations/issues/32","repository_url":"https://api.github.com/repos/typemytype/booleanOperations","labels_url":"https://api.github.com/repos/typemytype/booleanOperations/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/typemytype/booleanOperations/issues/32/comments","events_url":"https://api.github.com/repos/typemytype/booleanOperations/issues/32/events","html_url":"https://github.com/typemytype/booleanOperations/issues/32","id":164552706,"number":32,"title":"Glyph distortion after union","user":{"login":"khaledhosny","id":93914,"avatar_url":"https://avatars.githubusercontent.com/u/93914?v=3","gravatar_id":"","url":"https://api.github.com/users/khaledhosny","html_url":"https://github.com/khaledhosny","followers_url":"https://api.github.com/users/khaledhosny/followers","following_url":"https://api.github.com/users/khaledhosny/following{/other_user}","gists_url":"https://api.github.com/users/khaledhosny/gists{/gist_id}","starred_url":"https://api.github.com/users/khaledhosny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khaledhosny/subscriptions","organizations_url":"https://api.github.com/users/khaledhosny/orgs","repos_url":"https://api.github.com/users/khaledhosny/repos","events_url":"https://api.github.com/users/khaledhosny/events{/privacy}","received_events_url":"https://api.github.com/users/khaledhosny/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2016-07-08T15:14:23Z","updated_at":"2016-10-17T14:41:30Z","closed_at":"2016-10-17T14:41:30Z","body":"Using this script on [ReemKufi-Regular.ufo.zip](https://github.com/typemytype/booleanOperations/files/354532/ReemKufi-Regular.ufo.zip):\r\n```python\r\nimport sys\r\nfrom booleanOperations import BooleanOperationManager\r\nfrom defcon import Font\r\n\r\nufo = Font(sys.argv[1])\r\nmanager = BooleanOperationManager()\r\nfor glyph in ufo:\r\n    contours = list(glyph)\r\n    glyph.clearContours()\r\n    manager.union(contours, glyph.getPointPen())\r\nufo.save(sys.argv[1].replace(\".ufo\", \"-new.ufo\"))\r\n````\r\n\r\nResults in several distorted glyphs: arMeem.isol, arHeh.fina and arHeh.fina1:\r\n![2016-07-08 18-13-20](https://cloud.githubusercontent.com/assets/93914/16691998/b3878f76-4537-11e6-8904-510a61427207.png)"}}
{"actor":{"display_login":"anthrotype"}}