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

[REG 5.5->5.6] Fonts in Quick applications broken when HiDpi scaling code paths trigger

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.6.0 Beta
    • 5.6
    • GUI: Font handling
    • None
    • Windows 10, MSVC2015 64bit / ANGLE or Desktop GL,XCB
    •  45bb9c29e8b70cd15b01d8ab18d1df7f9707c215 (qtbase/5.6, 26.10.2015, 5.6b)

    Description

      Steps to reproduce:

      • set QT_AUTO_SCREEN_SCALE_FACTOR=1
      • Run qtquickcontrols\examples\quick\controls\texteditor

      Note:

      • FreeType looks even worse.
      • Same happens when setting QT_SCALE_FACTOR=2 on HighDpi or normal screens.

      Note: It does not really matter whether High DPI scaling is active. It is sufficient that QT_AUTO_SCREEN_SCALE_FACTOR is set for the below described initialization order problems to occur.

      Attachments

        1. 0001-WIP-QFontPrivate-Remove-dependency-on-qt_default_dpi.patch
          10 kB
          Friedemann Kleint
        2. qtbug47947_diag.diff
          10 kB
          Friedemann Kleint
        3. qtbug47947_freetype_scaled.jpg
          266 kB
          Friedemann Kleint
        4. qtbug47947_scaled_log.txt
          934 kB
          Friedemann Kleint
        5. qtbug47947_scaled.jpg
          276 kB
          Friedemann Kleint
        6. qtbug47947_unscaled_log.txt
          971 kB
          Friedemann Kleint
        7. qtbug47947_unscaled.jpg
          152 kB
          Friedemann Kleint

        Issue Links

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

          Activity

            People

              sorvig Morten Sørvig
              kleint Friedemann Kleint
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes