naming inside a file isn't a good idea: all files have be parsed before a menu can be build
will add some functionality to mojo.UI in the next version
from mojo.UI import getScriptingMenuNamingShortKey, setScriptingMenuNamingShortKey
data = getScriptingMenuNamingShortKey()
data['/path/to/my/python/script.py'] = dict(preferredName="my script name", shortKey="d")
Well, just take a look at how the palettes behave in, say, Photoshop or, really, any other app that has palettes (Pages, BBEdit, er… FontLab).
In all these other apps, focus in text fields in palettes is active only temporarily, while you're actively editing text. As soon as you hit [return], focus goes back to the document window. If you click on a button or adjust a slider on a floating palette, the palette only has focus momentarily, and as soon as you are done with the click or the adjustment in the palette, the document immediately has focus again.
In Robofont, you often have to click on the document window in order for it to regain focus after doing something in the Inspector palette. I find this behavior to be non-standard and disruptive. It feels unnatural, or at least violates my expectations about how it should work based on experience with palettes in other apps.
There is probably something about this in the old Apple HIG (Human Interface Guidelines).
I agree with you guys. My way of drawing involve a lot of "add extreme points + cleanup" method, and it is… painful to work like this in RF. Just a suggestion: on removing a point, maybe the opposite handle should be kept as is, at least? If recalculation of curve is hard, I don't see a reason why both handlelength should be affected. Am I clear?
(and yes, FLS' "optimize" algorithm performs well)
RoboFont remembers only the size of the last windows, not the position, the position is changing to much and depending on how many documents are open.
You can always use the single window mode
or take a look at the Arrange Windows extension.
To jump to different windows there is the universal OSx cmd + ` shortcut
And to reply to your first questions (different rounding behavior for off curves) :
This is maybe useful when the offcurves aren't extreme points and the bcp length is rather small (1-2 units). In all other cases, where the points are placed at extreme points this is not really an issue.
that is gone!
It was completely confusing UI with very low functionality's.
If you want to have support for swapping and copying layers around, I suggest to set a hot key for "Copy / Swap to layer"
(just adjusted the documentation)
That is easy: subscribe to newFontDidOpen and do something with the new font.
from mojo.events import addObserver
addObserver(self, "myCallback", "newFontDidOpen")
def myCallback(self, info):
font = info["font"]
font.info.copyright = "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.