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

Rendering of QQuickText slightly elevated.

    XMLWordPrintable

Details

    • Linux/X11
    • 3728032e0 (dev), a9418f0ab (6.9), 0bef58c11 (6.8)

    Description

      In Qt6, the rendering of multiline text with QQuickText Item using QFont
      with below properties:
      1. Font-Family: "Tahoma" or "Sans Serif"
      2. Pixelsize: 21 or higher.
      Issue:
      Text appears slightly elevated compared to Qt5. This difference is noticeable in the line spacing and line height, which do not match between the two versions. 

      Attached is the example and screenshots.

      Attachments

        1. image-2025-03-13-18-35-58-850.png
          6 kB
          Mohammad Arif KP
        2. image-2025-03-14-14-09-04-443.png
          21 kB
          Mohammad Arif KP
        3. image-2025-03-18-06-32-30-545.png
          55 kB
          Mohammad Arif KP
        4. image-2025-03-18-06-33-39-448.png
          10 kB
          Mohammad Arif KP
        5. qml_text_differences_zoomed.png
          289 kB
          Irfan Omair
        6. qml_text_differences.png
          13 kB
          Anders Bugge
        7. qml_text_differences.zip
          2 kB
          Anders Bugge
        8. Qt5_Qt6_PreferFontTypoMetrics.png
          116 kB
          Mohammad Arif KP
        9. qtbug134602.zip
          2.60 MB
          Irfan Omair
        For Gerrit Dashboard: QTBUG-134602
        # Subject Branch Project Status CR V

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            irfan.omair@digia.com Irfan Omair
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes