Anchor behaviour

RoboFont Forums Enhancements Anchor behaviour

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

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #4365

    jo
    Participant

    hi,
    I am not sure if I missed that feature, but is there a way to lock anchors? So they don’t get selected when cmd + a is hit (and then copy pasted or moved).

    Also when an anchor is further left or right than any outline the margins are counting from that anchor.
    Shouldn’t the margins ignore any anchors?

    thanks and best,
    jo

    #4366

    frederik
    Keymaster

    the upcoming version has different behavior toward anchor selection:
    cmd+a: select all contours
    cmd+alt+a: select all object in the glyph, contours, anchors, components

    marque sélection + alt + command: select anchors only

    and the anchors – margin bug will also be fixed

    #4367

    jo
    Participant

    thanks for super fast reply !
    looking forward to v 1.3

    #5584

    Mathieu Christe
    Participant

    Thank you for the very useful shortcuts!

    I’ve realised by using the Cmd-click to select component, that the pointer needs to be on top of the component, which often makes the component slightly move (in my experience). I’ve looked through the documentation but couldn’t find a shortcut to only select components. If this is useful to other users and if I’m not missing a trick, may I suggest Alt-click?

    Thanks for reading and listening.

    #5587

    danmilne
    Participant

    Hi Mathieu,

    I’ve been wanting to do the same. I just spotted this in the 1.4 release notes:

    • page begin, page end jump through anchor selection

    (they’re the home and end keys on my keyboard)

    Perfect for my needs. Thanks Frederik!

    #5592

    Mathieu Christe
    Participant

    Hello Dan,

    Now that you point it out, I remember reading it in the Version History. It’s very handy indeed.
    Only component related, how do you proceed if you want to select all components at once?

    M

    #5593

    jo
    Participant

    hey mathieu,
    cmd+alt+A gives you a selection of everything (outlines, components, anchors) in the glyph. so if you only have components in your glyph that could work?

    cheers,
    jo

    #5594

    Mathieu Christe
    Participant

    Hey Jo,

    Thank you for your answer but I’d like to be able to only select components, which means in the case of a glyph with both parts (components and non components).

    Yep,

    M

    #5595

    jo
    Participant

    hmhm

    how about this and assigning a short/hot key to it:

    # Selects all components of currentGlyph
    
    g = CurrentGlyph()
    
    g.prepareUndo("Select Components")
    
    for cont in g.contours:
        cont.selected = False
    for anchor in g.anchors:
        anchor.selected = False
    for comp in g.components:
        comp.selected = True
        
    g.update()
    g.performUndo()
    
    #5602

    frederik
    Keymaster

    next update will have a cmd+ctrl+A to select all components in one go….

    #5604

    Mathieu Christe
    Participant

    Jo, thanks for the script which I’ll use in the meantime.

    Frederik, thank you for listening and offering a built-in solution.

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

You must be logged in to reply to this topic.