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

Blurred Font Displayed with the highdpiaware flag set to true

    XMLWordPrintable

    Details

    • Subcomponent:
      2d

      Description

      This was tested on Windows 10 x64 machine
      .
      Run 2 instances of SwingSet2 application with sun.java2d.dpiaware set to true /false.
      $JAVA_HOME/bin/java -jar -Dsun.java2d.dpiaware=true SwingSet2.jar &
      $JAVA_HOME/bin/java -jar -Dsun.java2d.dpiaware=true SwingSet2.jar

      Compare the UI rendering of both with changing the resolution set to 1920 x1280

      With the flag set to false the text font is clear qith when the flag is true the font appears blurred. on the javafx.swing components as well as the filenames shown when the JFileChooser is opened up.
      Also note that the native font of the dialog title and the Window title appear identical and clear and the blurring is applicable only to the swing components.

        Attachments

          Activity

            People

            • Assignee:
              aivanov Alexey Ivanov
              Reporter:
              smandalika Srinivas Mandalika
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: