Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8213934

Text size too small on HiDPI monitors when using Windows L&F

    XMLWordPrintable

Details

    Description

      ADDITIONAL SYSTEM INFORMATION :
      Microsoft Windows [Version 10.0.17763.55]
      openjdk version "12-ea" 2019-03-19
      OpenJDK Runtime Environment (build 12-ea+19)
      OpenJDK 64-Bit Server VM (build 12-ea+19, mixed mode, sharing)

      Running on LG 4k monitor (3840x2160, 150% scaling mode)

      A DESCRIPTION OF THE PROBLEM :
      The font in Swing applications is too small by default on Swing applications running on HiDPI monitors on Windows starting on JDK 9. Earlier releases worked fine.

      REGRESSION : Last worked in version 8u191

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Run testcase

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Font size should be legible, ideally not much smaller than Metal L&F
      ACTUAL -
      Font size is extremely slow, making it virtually impossible to read the text

      ---------- BEGIN SOURCE ----------
      1. Download SwingSet2 from https://github.com/iaavo/swingset2
      2. Notice that default font size of frame tabs in Metal L&F is readable
      3. Switch to Windows L&F
      4. Notice that the font size of frame tabs is extremely small
      ---------- END SOURCE ----------

      FREQUENCY : always


      Attachments

        Issue Links

          Activity

            People

              psadhukhan Prasanta Sadhukhan
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: