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

Textrendering, Windows: Fonts looking too bold in DirectWrite mode

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 6.8.3
    • GUI: Text handling
    • None
    • Windows

    Description

      It looks like especially small texts are drawn too bold since the change of GDI based text rendering to DirectWrite based rendering.

      This effect can be seen when text is drawn onto transparent backgrounds like in a QQuickPaintedItem.

      The difference can be seen in the attached screenshots (one using GDI, one DirectWrite). Especially on the white background a big difference can be seen in the small texts.

      For reproduction, the attached source code snippets can be used. The mode (GDI/DirectWrite) can be switched using the constant UseGDI in testtranspquick.h

      Attachments

        1. image-2025-05-14-08-58-29-750.png
          5 kB
          Michael Pfob
        2. image-2025-05-14-08-58-40-807.png
          8 kB
          Michael Pfob
        3. qtbug136786_textrendering.zip
          2 kB
          Michael Pfob

        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
              michipfob Michael Pfob
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes