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

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical 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)

      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.

        1. qtbug47947_unscaled.jpg
          152 kB
          Friedemann Kleint
        2. qtbug47947_unscaled_log.txt
          971 kB
          Friedemann Kleint
        3. qtbug47947_scaled.jpg
          276 kB
          Friedemann Kleint
        4. qtbug47947_scaled_log.txt
          934 kB
          Friedemann Kleint
        5. qtbug47947_freetype_scaled.jpg
          266 kB
          Friedemann Kleint
        6. qtbug47947_diag.diff
          10 kB
          Friedemann Kleint
        7. 0001-WIP-QFontPrivate-Remove-dependency-on-qt_default_dpi.patch
          10 kB
          Friedemann Kleint
        For Gerrit Dashboard: QTBUG-47947
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes