Bug in glyph.isEmpty() ?

RoboFont Forums Bugs Bug in glyph.isEmpty() ?

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

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

    joanca
    Participant

    A glyph with no components nor contours but marked returns ‘False’ to glyph.isEmpty()
    I checked in FontLab and doesn’t happen there, so I guess it’s not a robofab issue.

    #5144

    frederik
    Keymaster

    It will return False also if there is a key in the glyph.lib. Main reason is that the glyph.lib contains user set data and when a user has added some data in the lib, like a mark color, but also layers, the glyph has some data so its not empty…

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

You must be logged in to reply to this topic.