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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Cannot Reproduce
    • Affects Version/s: 7u21
    • Fix Version/s: 8
    • Component/s: javafx
    • Labels:
    • Environment:

      Windows 7 , JDK 1.8 Build 93

      Description

      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

        Attachments

          Activity

            People

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

              Dates

              • Due:
                Created:
                Updated:
                Resolved:
                Imported: