could you send the
that one is stored in
<userName>/Library/Application Support/RoboFont folder
A tool can have his own contextual menu item:
from mojo.events import EditingTool, installTool class MyTool(EditingTool): def additionContextualMenuItems(self): return [ ("Hello", self.sayHello), ("World", self.sayWorld), ("submenu", [("an item", self.sayAnItem)]) ] def sayHello(self, sender): print("Hello") def sayWorld(self, sender): print("World") def sayAnItem(self, sender): print("an item") installTool(MyTool())
It not possible to directly inject menu item into the each menu for each tool. I will think about this and take it with me of the upcoming release.
not sure what is going on, it should work. It will not be the fastest option
All tracebacks are also saved into a log file. You will find the log file in
Can you send me either the log file or ufo for testing? (this can also be off list)
DrawBot only sets pdf data in the
DrawView when the script is done. With a
Canvas view you draw directly while its refreshing the view. The is lots faster but also fragile.
Already implemented in the next RoboFont updates is that a
Canvas object catches errors while sending notifications (like
mouseDown, ...) to a delegate object.
I think I see what you are trying to do
? will not be a valid glyph name... you need to convert the input string from the
EditText object to a list of glyph names.
from defconAppKit.tools.textSplitter import splitText font = CurrentFont() print splitText(u“héllo world?”, font.getCharacterMapping(), fallback=“.notdef”)
The crash happens because it goes wrong while drawing on screen and that is the worst place to raise a traceback...
Looks like your connection to RoboFont ● Forum was lost, please wait while we try to reconnect.