Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-15996

Qt Creator Windows 10 High DPI Fonts

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 3.6.1, Qt Creator 4.0.0-beta1
    • All Other Issues
    • None
    • Windows 10. Dell Precision 5510. 4K Infinity Display.

      When running Qt Creator on Windows 10 with a 4K screen some fonts do not size correctly. These include the tabs for the output panes (General Messages, Application Output, etc), Find Dialog, Document and Symbol pull downs and many more See the attached screenshot.

      A workaround is to apply a style sheet specifying the default font for QWidget. This fixes many of the issues including all the above. See the attached css and batch file.

      There are still some issues with this workaround as glyph descenders are clipped on the Advanced Find Dialog. See the attached screenshot.

        1. QtCreator-4.0-Beta1_BrokenHighResFonts.PNG
          292 kB
          Justin Noel
        2. QtCreator-4.0-Beta1_CssFixHighResFonts.PNG
          331 kB
          Justin Noel
        3. ResizeFonts.css
          0.0 kB
          Justin Noel
        4. qtcreator.bat
          0.0 kB
          Justin Noel
        5. QtCreator-4.0-Beta1_BrokenHighResFonts-Scale_150.PNG
          243 kB
          Justin Noel
        6. QtCreator-4.0-Beta1_BrokenHighResFonts-Scale_200.PNG
          258 kB
          Justin Noel
        7. QtCreator-4.0-Beta1_BrokenHighResFonts-Scale_300.PNG
          307 kB
          Justin Noel
        8. QtCreator-4.0-RC1-250x-HugeFonts.PNG
          283 kB
          Justin Noel
        9. qtdiag_qt.5.6.0_msvc2013_32bit.zip
          18 kB
          Alessandro Portale
        10. qtdiag_output.txt
          5 kB
          Justin Noel
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            portale Alessandro Portale
            justinnoel Justin Noel
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes