Interpolate kerning not working



  • When I run a script that includes:

    destination.kerning.interpolate(font1.kerning, font2.kerning, value)
    

    I get the following traceback:

    File "lib/fontObjects/robofabWrapper.pyc", line 320, in interpolate
    NameError: global name 'i' is not defined
    

    This is a bug, right? Any way to fix this problem?



  • Hi Frederick,

    I just checked to see if this has been fixed in v1.2, but now I'm getting a different traceback:

    File "lib/fontObjects/robofabWrapper.pyc", line 423, in interpolate
    NameError: global name 'maxMathGlyph' is not defined
    

    The script runs fine in TextMate, but would be nice to run from within RF so I can use dialogs, etc. Any ideas?


  • admin

    Thanks for reporting, will be solved in the next release (1.3)