Robofab script stop working?

ttmt's picture

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 import CurrentFont
from robofab.interface.all.dialogs import AskString
f = CurrentFont()
glyph = [


down = int(AskString('Move Down'))
for g in glyph:
f[g].mark = 140


frankrolf's picture

'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.

scruggsdesign's picture

from robofab.interface.all.dialogs_legacy
instead of
from robofab.interface.all.dialogs

I was having the same problem and found this:

ttmt's picture

Thanks for that scruggsdesign, it worked. Saved me a load of time.

Syndicate content Syndicate content