Draw in output window
-
fun!
if the observer event is
currentGlyphChanged
the drawPath draws in output window.
or am I doing something wrong
-
Yes that is possible only you have to tell a glyphview to redraw it self
Use
UpdateCurrentGlyphView()
and off course subscribe to the draw notification
See http://doc.robofont.com/api/mojo/mojo-ui/(Will fix the oldstyle notification)
-
So, it is not possible to draw something in the glyph view on a
fontDidSave
event?something else: this doesn't work anymore? http://doc.robofont.com/api/scripting-examples/drawing-and-addobserver-example/
-
Thanks!
-
You can only draw when there is a drawing context. Observe the events
draw
ordrawBackground
to draw additional info of a glyph in the glyph view.Good luck