Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-67038

Soft hyphens are broken

    XMLWordPrintable

Details

    • macOS
    • 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

          Activity

            People

              esabraha Eskil Abrahamsen Blomfeldt
              gri Christoph Keller
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: