Skip to content

libtxt: Text layout engine does not round-trip intrinsic dimension precision #5852

@Hixie

Description

@Hixie

Adding this code to text_painter's layout method (at the end) leads to the assert firing:

    _paragraph.layout(new ui.ParagraphConstraints(width: _paragraph.maxIntrinsicWidth));
    assert(h == _paragraph.height);

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projecta: typographyText rendering, possibly libtxtengineflutter/engine related. See also e: labels.team-engineOwned by Engine teamtriaged-engineTriaged by Engine team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions