anchors

RoboFont Forums Help / General anchors

This topic contains 4 replies, has 3 voices, and was last updated by  Jeremie 1 week ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #5288

    Andreas
    Participant

    This might be a stupid question but I just don’t get the way anchors work in RoboFont. I’m new to font editing, I’ve never used FontLab but I’ve seen tutorials about how anchors work there. I understand the purpose of anchors and I understand how FontLab is dealing with it but in RoboFont things seem to work differently and I can’t figure out how.

    I’d like to use them to position diacritics. So I placed one anchor in the base glyph “ a ” and named it “top” and another in the accent glyph “ ¨ ” named “_top”. Then I built the “ ä ” by adding “a” and “¨” as components to the empty “ä“ glyph. This is kind of the FontLab way and it doesn’t work.
    After trying other combinations without success and failing in research on the web on this specific topic here I am.

    Is there an out-of-the-box-behaviour for anchors or are they supposed to be accessed by scripts in order to use them?

    Thanks for your help

    Andreas

    #5289

    frederik
    Keymaster

    RoboFont has not yet support natively for placing components with anchor support.

    You can use font.generateGlyph(....) to compile glyph with anchor placement.

    font = CurrentFont()
    
    font.generateGlyph("adieresis")
    

    good luck

    #6030

    Jeremie
    Member

    Hi !

    Is there anything new regarding anchors in RoboFont 1.6 ?
    I have the same questions as Andreas, but I see it is from 2012 so, maybe there are news?

    thanks,
    Jeremie

    #6034

    frederik
    Keymaster

    there is no native support to build accents ‘magically’

    you can still use robofab as the example above

    or write a small glyph construction string when adding a glyph

    adieresis=a+dieresis@top

    see http://doc.robofont.com/documentation/workspace/font-collection/adding-and-deleting-glyphs/

    #6036

    Jeremie
    Member

    Thanks Frederik,
    That’s what I was looking for.

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

You must be logged in to reply to this topic.