Bug editing outlines



  • For some reason the following happens sometimes when editing outlines.

    Trying to add a point:

    Traceback (most recent call last):
      File "lib/eventTools/sliceTool.pyc", line 71, in _mouseUp
      File "lib/fontObjects/factories/beamFactory.pyc", line 167, in sliceGlyph
      File "/Applications/RoboFont.app/Contents/Resources/lib/python2.7/defcon/objects/contour.py", line 261, in splitAndInsertPointAtSegmentAndT
      File "lib/fontObjects/doodleContour.pyc", line 272, in _splitAndInsertAtSegmentAndT
    ValueError: need more than 2 values to unpack
    

    Trying to delete a point:

    Traceback (most recent call last):
      File "lib/eventTools/editingTool.pyc", line 812, in _keyDown
      File "lib/fontObjects/doodleSelection.pyc", line 1469, in deleteSelectionFromGlyph
      File "lib/fontObjects/doodleSelection.pyc", line 1596, in _deletePointsPresurveContours
      File "lib/fontObjects/doodleContour.pyc", line 152, in removeSegment
    IndexError: list index out of range
    

    Copying outline:

    Traceback (most recent call last):
      File "lib/eventTools/editingTool.pyc", line 917, in _draw
      File "lib/eventTools/editingTool.pyc", line 1041, in drawSelection
      File "lib/fontObjects/doodleSelection.pyc", line 288, in getSelectionpath
      File "lib/fontObjects/doodleSelection.pyc", line 275, in _buildSelectionPath
      File "lib/fontObjects/doodleSelection.pyc", line 255, in _drawSelectionInPen
      File "lib/fontObjects/doodleSelection.pyc", line 74, in endContour
    IndexError: list index out of range
    

    Problem is solved by adding the other controle handle first.
    Visual: http://yfrog.com/jqzn2p


Log in to reply