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

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

This topic contains 1 reply, has 2 voices, and was last updated by  frederik 1 year, 11 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5384

    Jens K.
    Participant

    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 …

    #5391

    frederik
    Keymaster

    added to the todo list

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.