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

Sizing fonts with CSS em can result in wrong size font being displayed

    XMLWordPrintable

Details

    Description

      In our build of SB using 8u20, some of our text nodes with CSS sizing specified in em are not displayed with the correct font size.

      This is a regression from SB 2.0 using 8.

      Attached are Java and FXML use cases.
      Also attached is an image comparison of the FXML use case in SB 2.0/8 and SB2.x/8u20

      Attachments

        1. comparison.png
          comparison.png
          17 kB
        2. emTest.fxml
          0.7 kB
        3. FontSizeTest.java
          0.9 kB
        4. RT-37787.fxml
          1 kB
        5. RT-37787.patch
          2 kB
        6. RT-37787-unit-test.patch
          2 kB

        Issue Links

          Activity

            People

              dgrieve David Grieve
              mchicharro Moises Chicharro
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported: