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

Qt Creator Windows 10 High DPI Fonts

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • 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.

    Description

      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.

      Attachments

        1. qtcreator.bat
          0.0 kB
          Justin Noel
        2. QtCreator-4.0-Beta1_BrokenHighResFonts.PNG
          292 kB
          Justin Noel
        3. QtCreator-4.0-Beta1_BrokenHighResFonts-Scale_150.PNG
          243 kB
          Justin Noel
        4. QtCreator-4.0-Beta1_BrokenHighResFonts-Scale_200.PNG
          258 kB
          Justin Noel
        5. QtCreator-4.0-Beta1_BrokenHighResFonts-Scale_300.PNG
          307 kB
          Justin Noel
        6. QtCreator-4.0-Beta1_CssFixHighResFonts.PNG
          331 kB
          Justin Noel
        7. QtCreator-4.0-RC1-250x-HugeFonts.PNG
          283 kB
          Justin Noel
        8. qtdiag_output.txt
          5 kB
          Justin Noel
        9. qtdiag_qt.5.6.0_msvc2013_32bit.zip
          18 kB
          Alessandro Portale
        10. ResizeFonts.css
          0.0 kB
          Justin Noel

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: