RSegment.smooth property always returns None
There’s a bug in the RSegment wrapper around the internal doodle stuff:
The smooth attribute always returns
Noneand 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).
thanks, great catch
will be fixed in the next version