Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-35802

QTextLayout's QTextLine's cursorToX returns wrong position

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • None
    • 4.8.6
    • GUI: Text handling
    • None
    • Debian amd64

    Description

      On a mix of ltr and rtl text the x position returned by cursorToX does not correspond to the position of the rendered characters/their selection.

      See example

      Attachments

        1. example.zip
          6 kB
        2. qtextlayout.png
          qtextlayout.png
          8 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            benibela Benito van der Zander
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes