Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
5.5.1, 5.14.2, 5.15.0 RC
-
Qt 5.5 on iOS 8.4
-
-
0fe6f818d (dev), 16407d12e (tqtc/lts-6.2), f7f8274ca (tqtc/lts-5.15), b0d395e27 (6.5), 2494dd0aa (6.4)
Description
Soft hyphens in a Text element are rendered as spaces unconditionally on iOS rather than collapsing. The dash at the end of the line is displayed correctly. On Android and Linux the soft hyphen collapses properly when it is not supposed to wrap.
In 5.4 the dash at the end of the line was not shown but at least the words weren't ripped apart.
Text { textFormat: Text.RichText text: "A­very­long­word­that­should­look­like­one­word­except­where­it­may­wrap" }
It doesn't matter whether I use ­ or a literal soft hyphen, or StyledText.
What happens now (in 5.14/5.15) is that it wraps and shows the hypen correctly when the hypen should be shown. But it is showing it as a space when the hypen is not going to be used. This is on macOS and iOS at least.
Attachments
Issue Links
- relates to
-
QTBUG-102483 Soft hyphen rendered as space on macOS
- Closed