RSegment.smooth property always returns None

RoboFont Forums Bugs RSegment.smooth property always returns None

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

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

    Niels
    Participant

    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).

    #4293

    frederik
    Keymaster

    thanks, great catch

    will be fixed in the next version

    Attachments:
    You must be logged in to view attached files.
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.