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

Trailing space not rendering correctly in TextFlow in RTL mode

XMLWordPrintable

    • generic
    • generic

      Trailing space present in a Text node is considered as RTL text even when it is present in LTR text if the node orientation is RTL. In this case an extra space is rendered in the beginning.
      If there is any other character like ":" before the space, the space is rendered between ":" and first character of LTR text and an extra space is rendered before the ":"
      Screenshots and code to reproduce the issue is attached.

      Expectation:
      The trailing space should not be rendered between ":" and first character of LTR text and extra space should not be rendered before ":" similar to how it is handled in HTML. Example is attached.

            angorya Andy Goryachev
            kpk Karthik P K
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: