Skip to content

Reading glyph.height from file #273

@schriftgestalt

Description

@schriftgestalt

When reading a .glif, the glyph.height is set to zero if it is not defined in the file. That makes it impossible to distinguish between manually defined zero height glyphs and just default/undefined ones. Would it be better to set glyph.height to None if not defined in the file?

I came across this when round tripping .glyphs > .ufo > .glyphs as the resulting .glyphs files have vertwidth = 0 for all glyphs. That is clearly wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions