Skip to content

Glyphs taller than font.ascent are clipped #143

@alexheretic

Description

@alexheretic

alexheretic/ab-glyph#50 font CooperHewitt-Book.otf glyphs clip outside of font ascender/descender vbounds. This means the top line (for default layout) glyphs may clip too.

This can be fixed by using the font line_gap as top-padding for the first line, essentially shifting down the glyphs of all fonts with non-zero line_gap values.

I'm unsure if this is the "correct" thing to do though. It's possible the font itself is wrong instead?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions