Skip to content

RichText softWrap is inconsistent #24399

@jeffmikels

Description

@jeffmikels

Consider the screenshot:

screen shot 2018-11-15 at 1 43 59 pm

There should be a soft line break added between the quotation mark after "deeds" and the parenthesis before "Hebrews."

The current softWrap algorithm appears to be ignoring the whitespace between two punctuation marks or perhaps ignoring whitespace before a parenthesis. Either way, this is incorrect behavior.

By the way, this is one long TextSpan.

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, v0.11.6-pre.9, on Mac OS X 10.12.6 16G29, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 9.2)
[✓] Android Studio (version 3.1)
[✓] VS Code (version 1.29.0)
[✓] Connected device (2 available)

• No issues found!

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: typographyText rendering, possibly libtxtengineflutter/engine related. See also e: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions