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

JavaFX does not render Myanmar script correctly

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      windows_10
    • Verification:
      Not verified

      Backports

        Description

        A DESCRIPTION OF THE PROBLEM :
        Java applications do not render Myanmar fonts correctly.
        For example, you should see one glyph ကြ combined from two characters "\u1000\u103C".
        JavaFX renders it as two separate glyphs.

        This is exactly the same bug of : https://bugs.java.com/bugdatabase/view_bug.do?bug_id=8223558
        This time it affects JavaFX14 which is not aligned to the JDK bug fix.

        There's already a quick fix to incorporate into the ScriptMapper.java class.
        https://github.com/openjdk/jfx/pull/168/commits/c580e16505d469bbd51fc12613ce38713d11f801#diff-4fe60c7b684ea9a0563038a7f89e9977

        Sadly the committer is not a contributor. We applied the patch and it's perfect.

        STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
        I did a FXML template. Find it attached

        EXPECTED VERSUS ACTUAL BEHAVIOR :
        EXPECTED -
        combined glyphs
        ACTUAL -
        separate glyphs

        FREQUENCY : always


          Attachments

            Issue Links

              Activity

                People

                Assignee:
                jpereda Jose Pereda
                Reporter:
                webbuggrp Webbug Group
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: