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

Complex scripts are not rendered properly when label.setStyle is used

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • 8
    • 7u21
    • javafx
    • Windows 7 , JDK 1.8 Build 93

      JDK 1.8 Build 93

      I had to use JDK8 for complex script rendering in Indian languages (RT-26002). However my code which ran well in JDK7 is not working in JDK 8

      This is because in my code I have used label.setStyle to set the font size and then label.setFont to set the font file because of some designing reason. It made the font display all the characters as square boxes in JDK 1.8.When I remove the style sheets from FXML and comment the setStyle call , fonts are displayed properly

      Please see why this feature is broken. I know I have not pasted code snippet because I could not reproduce it standalone because of issue RT-31073

            dgrieve David Grieve
            nghoshjfx Neil Ghosh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: