'AskString' has some issues in the latest versions of FL – an easy fix would be removing that call, and assigning an integer to the 'down' variable.
Makes the script less universal, but works for the moment.
Hi all
I have this simple Robofab script here I wrote to shift the vertical position
of subscript glyphs.
I haven't used it for a while but it has stopped working now.
I get an error message saying - NotImplementedError
Is there a reason why this has started to happen? can I fix it?
from robofab.world import CurrentFont
from robofab.interface.all.dialogs import AskString
#
f = CurrentFont()
#
glyph = [
'a.subs',
'b.subs',
'c.subs',
'd.subs',
'e.subs',
'f.subs',
'g.subs',
'h.subs',
'i.subs',
'j.subs',
]
#
down = int(AskString('Move Down'))
#
for g in glyph:
f[g].move((0,down))
f[g].mark = 140
f.update()