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

REG: Warnings when drawing text with DirectWrite

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.15.1
    • 5.15, 6.0
    • GUI: Text handling
    • None
    • Windows
    • c2dcb7eaa19251123f9fa9546f4fe3508751b918 (qt/qtbase/dev) c85a117980def89eeaad3b722e5b6aa879a5d091 (qt/qtbase/5.15)

    Description

      After bb67c3b68b00fb2075a971f4f0d58e1867ef7128, Qt Widgets applications may see warnings like this:

      QPainter::begin: Paint device returned engine == 0, type: 3
      QPainter::setCompositionMode: Painter not active
      QPainter::end: Painter not active, aborted
      

      This seems to be because we in certain cases before would return a blank image consisting only of margins, but since we now respect the glyph margins in the font engine, we return an invalid image instead.

      Attachments

        Issue Links

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

          Activity

            People

              esabraha Eskil Abrahamsen Blomfeldt
              esabraha Eskil Abrahamsen Blomfeldt
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes