Bug in autoContourOrder

RoboFont Forums Bugs Bug in autoContourOrder

This topic contains 1 reply, has 2 voices, and was last updated by  frederik 8 years, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4350

    tom
    Participant

    I have a script that tries to conform two glyphs using Glyph.autoContourOrder and Contour.autoStartSegment, but every now and then I get this error on specific glyphs:

    I can’t seem to find “lib/fontObjects/” to see what’s happening?

    “`
    Traceback (most recent call last):
    File “lib/doodleDelegate.pyc”, line 81, in sendEvent_
    File “/Applications/RoboFont.app/Contents/Resources/lib/python2.7/vanilla/vanillaBase.py”, line 196, in action_
    self.callback(sender)
    File “interpolatorHelp.py”, line 81, in autoCorrect
    File “lib/fontObjects/robofabWrapper.pyc”, line 2313, in autoContourOrder
    File “lib/fontObjects/doodleBaseGlyph.pyc”, line 200, in autoContourOrder
    File “lib/fontObjects/doodleContour.pyc”, line 55, in _get_segments
    AssertionError
    “`

    #4351

    frederik
    Keymaster

    This was idd a bug in version 1.2 where it seems to be possible that a contour has zero points, this is solved in the upcoming RoboFont 1.3.

    thanks

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.