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

Text vertical alignment is wrong when lineHeight is set with some non latin characters

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.15.2, 6.0.0
    • Quick: Other
    • None
    • Debian Buster
      Arch Linux
    • Linux/X11

    Description

      In QML when using a Text item with:

      • lineHeight is set
      • The text contains some non-latin characters
      • verticalAlignment is set to something else than Qt.AlignTop

      Then the actual text rendering does not respect the alignment and can even render outside of the Text item.

      I have tested with Qt 5.15.2 and 6.0.0 official builds and with Qt 5.15.2 provided by Arch Linux package manager.

      Screenshots

      Latin text

      Burmese text

      Arabic text

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.graphics.and.multimedia Qt Graphics Team
            bterrier Benjamin Terrier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes