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

[Qt Quick 2D Renderer] Text underlines rendering is broken on fractional screen's scale factors

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.15.2, 6.2.2
    • Quick: 2D Renderer
    • None
    • Windows

    Description

      Text underlines rendering is broken on fractional screen's scale factors when Software graphics backend is used

      #if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
          QQuickWindow::setSceneGraphBackend(QSGRendererInterface::Software);
      #else
          QQuickWindow::setGraphicsApi(QSGRendererInterface::Software);
      #endif
      

      Reproduced at least on 125% screen's scale factor.

       

      See attached simple example.

      Attachments

        1. image-2021-12-16-14-27-07-721.png
          93 kB
          Vladimir Belyavsky
        2. image-2021-12-17-11-22-13-613.png
          89 kB
          Vladimir Belyavsky
        3. untitled.zip
          2 kB
          Vladimir Belyavsky

        Issue Links

          Activity

            People

              janichol Andy Nichols
              studiosus Vladimir Belyavsky
              Votes:
              3 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: