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

High dpi scaling of text rendered to a QImage that is of format Mono does not scale properly

    XMLWordPrintable

Details

    • Windows
    • 28b2232e7818f560bcd6c57f09ef42f2363e5338 (qt/qtbase/5.12)

    Description

      When rendering text to a QImage that is of format Mono, the text does not properly scale on systems that use high dpi scaling.

      This issue is not present on dpiawareness 1, and also using freetype fontengine does not show this issue.

      Steps to reproduce:

      • Set monitor to 150% scaling
      • Run attached sample
      • EXPECTED: Text is properly scaled (screenshot _ok)
      • ACTUAL: Text has artifacts (screenshot _fail)

      Attachments

        1. qtbug69702_2x_okish.png
          qtbug69702_2x_okish.png
          5 kB
        2. qtbug69702_fail.png
          qtbug69702_fail.png
          4 kB
        3. qtbug69702_ok.png
          qtbug69702_ok.png
          4 kB
        4. qtbug69702.zip
          0.9 kB
        For Gerrit Dashboard: QTBUG-69702
        # Subject Branch Project Status CR V

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            jussi_witick Jussi Witick
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes