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

RTL orientation, TextField displays Arabic with number/punctuation in different order from Text.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: javafx
    • Labels:

      Description

      8.0 b67, in Arabic locale, set orientation to RTL. Set the content of TextFiled/Text to Arabic with number/punctuation, observe how they are displayed.
      They display the characters differently. Please refer to the attached snapshot.

      Test data:
      digital_trailing = "\u0639\u0634\u0631\u0629 1112";
      digital_leading = "1112 \u0639\u0634\u0631\u0629";
      punctuation_trailing = "\u0639\u0634\u0631\u0629!";
      punctuation_leading = ":\u0639\u0634\u0631\u0629";

        Attachments

        1. Text-bidi.png
          25 kB
          Jenny Huang
        2. textfield-bidi.png
          23 kB
          Jenny Huang

          Issue Links

            Activity

              People

              Assignee:
              leifs Leif Samuelsson (Inactive)
              Reporter:
              jennyh Jenny Huang (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved:
                Imported: