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

Personalized Windows Font Size is not taken into account in Java8u102

    XMLWordPrintable

Details

    • b03
    • b01
    • x86_64
    • windows_7

    Backports

      Description

        FULL PRODUCT VERSION :
        java version "1.8.0_102-ea"
        Java(TM) SE Runtime Environment (build 1.8.0_102-ea-b04)
        Java HotSpot(TM) 64-Bit Server VM (build 25.102-b04, mixed mode)

        ADDITIONAL OS VERSION INFORMATION :
        Microsoft Windows [Versión 6.1.7601]

        A DESCRIPTION OF THE PROBLEM :
        I have personalized window font size to 125%. In Java7 and other versions prior to Java8u102 , my Java application shows font resized in this percent, so this is Ok. But with Java8u102, the same application show small font size, like 100% without taking into account my windows settings.



        REGRESSION. Last worked in version 8u92

        STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
        Simply type and run the following program:

        import javax.swing.JOptionPane;
        import javax.swing.UIManager;

        import junit.framework.TestCase;

        public class TestFonts extends TestCase {


        public void testFont() throws Exception {
        UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
        JOptionPane.showMessageDialog(null, "Testing " + UIManager.getSystemLookAndFeelClassName() + "...");
        }
        }

        Yo will get different results from Java7 for example and Java8u102


        REPRODUCIBILITY :
        This bug can be reproduced always.

        CUSTOMER SUBMITTED WORKAROUND :
        I don't know so far.

        Attachments

          Issue Links

            Activity

              People

                alexsch Alexandr Scherbatiy
                webbuggrp Webbug Group
                Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: