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

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

    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
          Alexander Kuznetcov
        2. CSSPtSize.java
          2 kB
          Philip Race
        3. cssptsize.png
          34 kB
          Philip Race
        4. font.html
          0.2 kB
          Alexander Kuznetcov
        5. RT20910.java
          2 kB
          Leif Samuelsson
        6. screenshot-1.jpg
          97 kB
          Alexander Kuznetcov

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: