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

TextArea font size doesn't match to system and Web View font size

    XMLWordPrintable

Details

    Description

      My test application creates three TextArea components with the following styles:

                              .style("-fx-font: italic 30pt 'Segoe Print';")
                              .style("-fx-font: italic 30px 'Segoe Print';")
                              .style("-fx-font: italic 30 'Segoe Print';")

      All of them are rendered with the font of the same size which is different from what is rendered in the WebView and system. Moreover, it is not italic.

      Attachments

        1. Bug.java
          2 kB
        2. CSSPtSize.java
          2 kB
        3. cssptsize.png
          cssptsize.png
          34 kB
        4. font.html
          0.2 kB
        5. RT20910.java
          2 kB
        6. screenshot-1.jpg
          screenshot-1.jpg
          97 kB

        Activity

          People

            dgrieve David Grieve
            mrkam Alexander Kuznetcov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported: