[1.4] Kerning values can't be rounded ('DoodleKerning' has no attr '_kerning')



  • When I try to round the kerning:

    f = CurrentFont()
    f.kerning.round(1)
    

    I get this:

    Traceback (most recent call last):
      File "ChangeUPM.py", line 3, in 
      File "lib/fontObjects/robofabWrapper.pyc", line 448, in round
      File "lib/fontObjects/doodleKerning.pyc", line 52, in round
    AttributeError: 'DoodleKerning' object has no attribute '_kerning'
    

    Other kerning operations work, e.g.

    f.kerning.scale(3)
    

    or

    print f.kerning.keys()
    

    And I think kerning.round() worked in 1.3 ...


  • admin

    added to the todo list


Log in to reply