Skip to content

TextLayout.computeMetrics width is wrong for multi-line strings #6

@xinaesthete

Description

@xinaesthete

Should be fairly trivial to fix. At the moment, line breaks are ignored, meaning that curWidth keeps increasing, so the result is the total length of all lines rather than the length of the longest line.

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