{"action":"reopened","issue":{"url":"https://api.github.com/repos/googlei18n/fontmake/issues/354","repository_url":"https://api.github.com/repos/googlei18n/fontmake","labels_url":"https://api.github.com/repos/googlei18n/fontmake/issues/354/labels{/name}","comments_url":"https://api.github.com/repos/googlei18n/fontmake/issues/354/comments","events_url":"https://api.github.com/repos/googlei18n/fontmake/issues/354/events","html_url":"https://github.com/googlei18n/fontmake/issues/354","id":259162959,"number":354,"title":"AssertionError when trying to remove overlaps","user":{"login":"kalapi","id":15804460,"avatar_url":"https://avatars1.githubusercontent.com/u/15804460?v=4","gravatar_id":"","url":"https://api.github.com/users/kalapi","html_url":"https://github.com/kalapi","followers_url":"https://api.github.com/users/kalapi/followers","following_url":"https://api.github.com/users/kalapi/following{/other_user}","gists_url":"https://api.github.com/users/kalapi/gists{/gist_id}","starred_url":"https://api.github.com/users/kalapi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalapi/subscriptions","organizations_url":"https://api.github.com/users/kalapi/orgs","repos_url":"https://api.github.com/users/kalapi/repos","events_url":"https://api.github.com/users/kalapi/events{/privacy}","received_events_url":"https://api.github.com/users/kalapi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2017-09-20T13:28:12Z","updated_at":"2017-09-28T10:35:09Z","closed_at":null,"author_association":"NONE","body":"Hello, \r\n\r\nWhile trying to generate OTFs for Noto Serif Kannada from a Glyphs source (cubic outlines) I get the following error:\r\n\r\n```\r\nINFO:fontmake.font_project:Building master UFOs and designspace from Glyphs source\r\nINFO:glyphsLib:Parsing .glyphs file\r\nINFO:glyphsLib:Casting parsed values\r\nINFO:glyphsLib:Loading to UFOs\r\nINFO:glyphsLib.util:Writing master_ufo/NotoSerifKannada-Light.ufo\r\nINFO:glyphsLib.util:Writing master_ufo/NotoSerifKannada-Regular.ufo\r\nINFO:glyphsLib.util:Writing master_ufo/NotoSerifKannada-SemiBold.ufo\r\nINFO:glyphsLib.util:Writing master_ufo/NotoSerifKannada-Bold.ufo\r\nTook 10.869s to run 'build_master_ufos'\r\nINFO:fontmake.font_project:Interpolating master UFOs from designspace\r\nINFO:mutatorMath:Reading master_ufo/NotoSerifKannada.designspace\r\nINFO:mutatorMath:\tGenerating instance NotoSerifKannada-Thin.ufo\r\nINFO:mutatorMath:\tGenerating instance NotoSerifKannada-ExtraLight.ufo\r\nINFO:mutatorMath:\tGenerating instance NotoSerifKannada-Light.ufo\r\nINFO:mutatorMath:\tGenerating instance NotoSerifKannada-Regular.ufo\r\nINFO:mutatorMath:\tGenerating instance NotoSerifKannada-Medium.ufo\r\nINFO:mutatorMath:\tGenerating instance NotoSerifKannada-SemiBold.ufo\r\nINFO:mutatorMath:\tGenerating instance NotoSerifKannada-Bold.ufo\r\nINFO:mutatorMath:\tGenerating instance NotoSerifKannada-ExtraBold.ufo\r\nINFO:mutatorMath:\tGenerating instance NotoSerifKannada-Black.ufo\r\nINFO:fontmake.font_project:Building OTFs\r\nINFO:fontmake.font_project:Decomposing glyphs for NotoSerifKannada-Thin\r\nINFO:fontmake.font_project:Decomposing glyphs for NotoSerifKannada-ExtraLight\r\nINFO:fontmake.font_project:Decomposing glyphs for NotoSerifKannada-Light\r\nINFO:fontmake.font_project:Decomposing glyphs for NotoSerifKannada-Regular\r\nINFO:fontmake.font_project:Decomposing glyphs for NotoSerifKannada-Medium\r\nINFO:fontmake.font_project:Decomposing glyphs for NotoSerifKannada-SemiBold\r\nINFO:fontmake.font_project:Decomposing glyphs for NotoSerifKannada-Bold\r\nINFO:fontmake.font_project:Decomposing glyphs for NotoSerifKannada-ExtraBold\r\nINFO:fontmake.font_project:Decomposing glyphs for NotoSerifKannada-Black\r\nTook 23.512s to run 'decompose_glyphs'\r\nINFO:fontmake.font_project:Removing overlaps for NotoSerifKannada-Thin\r\nTraceback (most recent call last):\r\n  File \"/Users/employee-1/Documents/_Code/fntmk/bin/fontmake\", line 11, in <module>\r\n    sys.exit(main())\r\n  File \"/Users/employee-1/Documents/_Code/fntmk/lib/python2.7/site-packages/fontmake/__main__.py\", line 183, in main\r\n    project.run_from_glyphs(glyphs_path, **args)\r\n  File \"/Users/employee-1/Documents/_Code/fntmk/lib/python2.7/site-packages/fontmake/font_project.py\", line 378, in run_from_glyphs\r\n    designspace_path, instance_data=instance_data, **kwargs)\r\n  File \"/Users/employee-1/Documents/_Code/fntmk/lib/python2.7/site-packages/fontmake/font_project.py\", line 434, in run_from_designspace\r\n    interpolate_layout_from=interpolate_layout_from, **kwargs)\r\n  File \"/Users/employee-1/Documents/_Code/fntmk/lib/python2.7/site-packages/fontmake/font_project.py\", line 473, in run_from_ufos\r\n    ufos, remove_overlaps, **kwargs)\r\n  File \"/Users/employee-1/Documents/_Code/fntmk/lib/python2.7/site-packages/fontmake/font_project.py\", line 174, in build_otfs\r\n    self.remove_overlaps(ufos)\r\n  File \"/Users/employee-1/Documents/_Code/fntmk/lib/python2.7/site-packages/fontTools/misc/loggingTools.py\", line 372, in wrapper\r\n    return func(*args, **kwds)\r\n  File \"/Users/employee-1/Documents/_Code/fntmk/lib/python2.7/site-packages/fontmake/font_project.py\", line 115, in remove_overlaps\r\n    union(contours, glyph.getPointPen())\r\n  File \"/Users/employee-1/Documents/_Code/fntmk/lib/python2.7/site-packages/booleanOperations/booleanOperationManager.py\", line 104, in union\r\n    return _performOperation(\"union\", contours, [], outPen)\r\n  File \"/Users/employee-1/Documents/_Code/fntmk/lib/python2.7/site-packages/booleanOperations/booleanOperationManager.py\", line 64, in _performOperation\r\n    subjectInputContours = [InputContour(contour) for contour in subjectContours if contour and len(contour) > 1]\r\n  File \"/Users/employee-1/Documents/_Code/fntmk/lib/python2.7/site-packages/booleanOperations/flatten.py\", line 68, in __init__\r\n    contour.drawPoints(pointPen)\r\n  File \"/Users/employee-1/Documents/_Code/fntmk/lib/python2.7/site-packages/defcon/objects/contour.py\", line 603, in drawPoints\r\n    pointPen.addPoint((point.x, point.y), segmentType=point.segmentType, smooth=point.smooth, name=point.name, identifier=point.identifier)\r\n  File \"/Users/employee-1/Documents/_Code/fntmk/lib/python2.7/site-packages/booleanOperations/flatten.py\", line 346, in addPoint\r\n    assert segmentType != \"move\"\r\nAssertionError\r\n```\r\nAny help is appreciated :)"}}
{"actor":{"display_login":"kalapi"}}