Details

    • Sub-task
    • Resolution: Fixed
    • P2
    • 8
    • 8
    • javafx

    Description

      The Text class should override getEffectiveNodeOrientation() to return a value based on the content's natural direction (using BIDI algorithm), rather than assume LTR by default. This assumes that getEffectiveNodeOrientation() can be made non-final -- or better yet, be turned into a read-only property so that text input controls can listen to changes that are triggered by user input.

      If the content is empty or contains only direction-neutral characters, then the effective orientation should be based on the nodeOrientation property, but only then.

      If it is absolutely necessary to let applications set the orientation explicitly, then Text would need the ability to track whether nodeOrientation is set explicitly on the node. This is not possible currently. Note that it would not be enough to rely on nodeOrientation being INHERIT as that could also be used as an explicit value.

      Attachments

        Issue Links

          Activity

            People

              fheidric Felipe Heidrich (Inactive)
              leifs Leif Samuelsson (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported: