Skip to content

Layout does not measure glyph boundaries #30313

Open

Description

@mrobinson

Both layout and legacy layout do not measure glyph boundaries. HarfBuzz is used to get glyph advances and shaping offsets, but glyphs can extend beyond the boundaries of their brush origin and advance. Right now this does not pose a very visible problem, but newer versions of WebRender will more readily clip away text content that is outside the boundary rectangle of text display items. It seems that when collecting glyphs for text runs we also need to track glyph extent information.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions