[1.4] Scaling a glyph

RoboFont Forums Bugs [1.4] Scaling a glyph

This topic contains 1 reply, has 2 voices, and was last updated by  frederik 3 years ago.

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

    Jens K.

    It seems I can’t scale a glyph by script anymore (it worked in 1.3):

    g = CurrentGlyph()
    g *= 3

    does nothing, whereas this works:

    g = CurrentGlyph()
    f = CurrentFont()
    f[“foo”] = g * 3

    But I’d like to scale a glyph in itself, not make a new one :-/



    There was a nasty bug in glyph math :)
    The result of some glyph math was always applied on the glyph data, which is not correct. It should return the result as a glyph object, so you can handle the result as expected: set it back in the source or store and used it somewhere else without the modifying the source data.

    I will add “-=” “+=” “*=” operation do the todo list


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

You must be logged in to reply to this topic.