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

Text/TextFlow.caretShape() and .rangeShape() wrong in RTL orientation

    XMLWordPrintable

Details

    Description

      When TextFlow is set to RTL node orientation, not only the layout is incorrect (see JDK-8318095) but also

      caretShape() and
      rangeShape()

      methods return incorrect values.

      To reproduce, launch the attached code and click left mouse button to see the caret shape, or right mouse button to see the range shape of the whole text. The paths will also be printed to stdout.

      A similar issue is present in Text.

      Attachments

        Issue Links

          Activity

            People

              angorya Andy Goryachev
              angorya Andy Goryachev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: