{"action":"created","issue":{"url":"https://api.github.com/repos/behdad/fonttools/issues/621","repository_url":"https://api.github.com/repos/behdad/fonttools","labels_url":"https://api.github.com/repos/behdad/fonttools/issues/621/labels{/name}","comments_url":"https://api.github.com/repos/behdad/fonttools/issues/621/comments","events_url":"https://api.github.com/repos/behdad/fonttools/issues/621/events","html_url":"https://github.com/behdad/fonttools/issues/621","id":160405167,"number":621,"title":"PointInsidePen failure","user":{"login":"miguelsousa","id":2119742,"avatar_url":"https://avatars.githubusercontent.com/u/2119742?v=3","gravatar_id":"","url":"https://api.github.com/users/miguelsousa","html_url":"https://github.com/miguelsousa","followers_url":"https://api.github.com/users/miguelsousa/followers","following_url":"https://api.github.com/users/miguelsousa/following{/other_user}","gists_url":"https://api.github.com/users/miguelsousa/gists{/gist_id}","starred_url":"https://api.github.com/users/miguelsousa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miguelsousa/subscriptions","organizations_url":"https://api.github.com/users/miguelsousa/orgs","repos_url":"https://api.github.com/users/miguelsousa/repos","events_url":"https://api.github.com/users/miguelsousa/events{/privacy}","received_events_url":"https://api.github.com/users/miguelsousa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-06-15T12:02:27Z","updated_at":"2016-06-15T15:09:09Z","closed_at":null,"body":"The test point is clearly outside of the test contour, but the result of `PointInsidePen` is `True`.\r\n```python\r\nfrom fontTools.pens.pointInsidePen import PointInsidePen\r\n\r\ndef testContour(pen):\r\n\tpen.moveTo( (727.546875, 697.0) )\r\n\tpen.curveTo( (722.953125, 697.953125), (718.109375, 698.515625), (712.9375, 698.515625) )\r\n\tpen.lineTo( (504.375, 698.515625) )\r\n\tpen.curveTo( (487.328125, 719.359375), (507.84375, 783.140625), (555.796875, 783.140625) )\r\n\tpen.lineTo( (717.96875, 783.140625) )\r\n\tpen.curveTo( (738.890625, 783.140625), (748.796875, 711.5), (727.546875, 697.0) )\r\n\tpen.closePath()\r\n\r\ntestPt = (416.625, 783.140625)\r\n\r\npiPen = PointInsidePen(None, testPt)\r\ntestContour(piPen)\r\nprint piPen.getResult()\r\n```"},"comment":{"url":"https://api.github.com/repos/behdad/fonttools/issues/comments/226217599","html_url":"https://github.com/behdad/fonttools/issues/621#issuecomment-226217599","issue_url":"https://api.github.com/repos/behdad/fonttools/issues/621","id":226217599,"user":{"login":"typemytype","id":1190358,"avatar_url":"https://avatars.githubusercontent.com/u/1190358?v=3","gravatar_id":"","url":"https://api.github.com/users/typemytype","html_url":"https://github.com/typemytype","followers_url":"https://api.github.com/users/typemytype/followers","following_url":"https://api.github.com/users/typemytype/following{/other_user}","gists_url":"https://api.github.com/users/typemytype/gists{/gist_id}","starred_url":"https://api.github.com/users/typemytype/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/typemytype/subscriptions","organizations_url":"https://api.github.com/users/typemytype/orgs","repos_url":"https://api.github.com/users/typemytype/repos","events_url":"https://api.github.com/users/typemytype/events{/privacy}","received_events_url":"https://api.github.com/users/typemytype/received_events","type":"User","site_admin":false},"created_at":"2016-06-15T15:09:09Z","updated_at":"2016-06-15T15:09:09Z","body":"a bug sneaked in somewhere in bezierTools.py \r\nsee history https://github.com/behdad/fonttools/commits/master/Lib/fontTools/misc/bezierTools.py\r\n\r\n"}}
{"actor":{"display_login":"typemytype"}}