Default Font Info settings

RoboFont Forums Features Default Font Info settings

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

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


    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!




    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

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

You must be logged in to reply to this topic.