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

[REG 5.13.0 -> 5.13.1] Some fonts look crumbly when Text.NativeRendering is chosen

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P1: Critical
    • Resolution: Unresolved
    • Affects Version/s: 5.13.1
    • Fix Version/s: None
    • Component/s: Quick: Other
    • Labels:
    • Environment:
      Windows 10 64 bit
    • Platform/s:
      Windows

      Description

      1. Start Qt Creator.
      2. From the menu, select "Analyze" -> "QML Profiler Options" -> "Load QML Trace".
      3. Select a QML trace file, e.g. the one I attached.
        The times above the Timeline view look terribly crumbly:

        This is more obvious on a UHD screen.

      This problem did not exist in Qt Creator 4.10 beta1, which was still based on Qt 5.13.0

      The following piece of QML, as reported by Antarpreet Singh Padda in the comments below, seems to be a smaller example to reproduce the issue without Qt Creator:

      import QtQuick 2.12
      import QtQuick.Window 2.12
      
      Window {
        visible: true
        width: 640
        height: 480
        title: qsTr("Native Text Rendering")
      
        Column {
          anchors.centerIn: parent
          spacing: 10
      
          Repeater {
            model: 10
      
            Row {
              anchors.horizontalCenter: parent.horizontalCenter
              spacing: 10
      
              Text {
                text: "Font Size " + font.pixelSize
                font.family: "Open Sans"
                font.pixelSize: 8 + index
                renderType: Text.NativeRendering
              }
              Text {
                text: "Bold"
                font.family: "Open Sans"
                font.pixelSize: 8 + index
                font.bold: true
                renderType: Text.NativeRendering
              }
              Text {
                text: "Italic"
                font.family: "Open Sans"
                font.pixelSize: 8 + index
                font.italic: true
                renderType: Text.NativeRendering
              }
              Text {
                text: "BoldItalic"
                font.family: "Open Sans"
                font.pixelSize: 8 + index
                font.bold: true
                font.italic: true
                renderType: Text.NativeRendering
              }
            }
          }
        }
      }
      

      The difference between 5.13.0 and 5.13.1 is apparent:

        Attachments

        1. crumbly.png
          18 kB
          Robert Löhning
        2. qmltrace.qzt
          0.6 kB
          Robert Löhning
        3. qtdiag.txt
          8 kB
          Robert Löhning
        4. Sans_5.13.0.PNG
          16 kB
          Antarpreet Singh Padda
        5. Sans_5.13.1.PNG
          13 kB
          Antarpreet Singh Padda

          Issue Links

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

            Activity

              People

              Assignee:
              qt.team.quick.subscriptions Qt Quick and Widgets Team
              Reporter:
              rlohning Robert Löhning
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes