On-Curve tangent point: state report?

RoboFont Forums Features On-Curve tangent point: state report?

This topic contains 3 replies, has 2 voices, and was last updated by  Mathieu Christe 4 years, 4 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #5427

    Mathieu Christe

    In some cases (can’t find a way to reproduce it now), I’ve experienced tangent (triangle shape) on-curve points not being updated, which means I need to double-click them to get the correct position of the node.
    Is there a way, a method/function, to check for such points.

    Thanks & best,



    Mathieu Christe

    I’ve found a case, when you move a tangent on-curve point, holding Cmd so that the off-curve point doesn’t move.



    when holding cmd down on a “smooth” point, tangent points are smooth points, will not move the bcp(s) but only the anchor points across the angle of the bcp(s)

    a small script that “corrects” wrong smooht points by toggling the smooth flag of each point

    # get the current glyph
    g = CurrentGlyph()
    # loop over all contours
    for c in g:
        # loop over all points
        for p in c.points:
            # deslect all points
            p.selected = False
            # if the point is an off curve don't do anything
            if p.type == "offCurve":
            # if the point is smooth
            if p.smooth:
                # set smooth to false
                p.smooth = False
                # select the point
                p.selected = True
    # get the naked selection object and toggle the smoothness
    # whoehoe, done

    good luck


    Mathieu Christe

    Just tested it, no need for luck with your scripts ;-)

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

You must be logged in to reply to this topic.