Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.10.1, 5.14
-
None
-
Qt 5.10.1, macOS 10.13.3 / iOS 10.3
-
-
0fe6f818d (dev), 16407d12e (tqtc/lts-6.2), f7f8274ca (tqtc/lts-5.15), b0d395e27 (6.5), 2494dd0aa (6.4)
Description
It seems soft hypens are broken (see attached image and code).
QTBUG-44234 suggests to set QT_HARFBUZZ=old which seems to work (graphic #2) unless you call QQuickStyle::setStyle("whatever"). It does not matter if the style really exists or not: Hyphens will be displayed but can be outside of the box, and will be rendered as spaces otherwise (graphic #1).
Not changing QT_HARFBUZZ and not calling QQuickStyle::setStyle() will result in a text without any hyphens (graphic #3).
Just calling QQuickStyle::setStyle() seems to override whatever is set by QT_HARFBUZZ (graphic #4).
Attachments
Issue Links
- relates to
-
QTBUG-102483 Soft hyphen rendered as space on macOS
- Closed