Default Font Info settings

  • Is it possible to set default info for copyright / vertical metrics etc?

    Would be nice to have something to start with, instead of copying and pasting each time. Thanks!


  • admin

    That is easy: subscribe to newFontDidOpen and do something with the new font.

    from import addObserver
    class SetInfo(object):
        def __init__(self):
            addObserver(self, "myCallback", "newFontDidOpen")
        def myCallback(self, info):
            font = info["font"]
            print font
   = "This is my font"

    and maybe set this script as start up script in the preferences so each time you open RoboFont the observer will be installed.

    good luck