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

Rendering issue in QStaticText

    XMLWordPrintable

Details

    • c69469ff12eeed23584b5c3b15978a7e75d01df1

    Description

      When QStaticText is used with QPainter::OpenGL2 as paint engine, it does a wrong rendering of the glyphs when large fonts are used: The glyphs are aligned wrong horizontally and get partly clipped.

      Attached is a Qt-only application that shows the problem. The application draws the same text on the same position once with QPainter::drawText() and with QPainter::drawStaticText(). If the application is started with -graphicssystem x11, the rendering of the text is absolutely identical. If -graphicssystem opengl2 is used, the glyphs are aligned different for QPainter::drawStaticText() and partly clipped.

      The issue seems only to occur for quite large font sizes.

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            ppenz Peter Penz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes