RSegment.smooth property always returns None



  • There’s a bug in the RSegment wrapper around the internal doodle stuff:

    The smooth attribute always returns None and setting it makes things unstable and yields unreliable results.

    Workaround is to index into CurrentGlyph().naked(), find the corresponding point in the doodle contour and access its smooth attribute, but I guess that’s what the RSegment object should take care of (and would make things portable across RoboFont and plain RoboFab scripts).


  • admin

    thanks, great catch

    will be fixed in the next version


Log in to reply