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

Incorrect text rendering when mixing some scripts in the same QTextLayout

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 4.7.4, 4.8.0
    • 4.7.1
    • GUI: Text handling
    • None
    • Qt X/11 4.7.1
      GCC 4.5.1
    • 8e6078401562d40d2e63c4a2c769843088ec3350, f49490a13b664eb00207b2d3d6354071ae81f161

    Description

      Glyph selection fails miserably when certain scripts are mixed. As far as I can tell the first chunk of each script is rendered correctly but subsequent chunks are off by one or more characters and the more script switch the bigger the effect.

      Some experimental results so far (see attached files) :
      Fail : ASCII/Domino tiles, ASCII/Mahjong tiles
      Pass : ASCII/math operators, Mahjong tiles/Domino tiles

      The bug is reproducible in any QTextLayout-based widget (QTextEdit, QPlainTextEdit, KatePart...) when using monospaced fonts.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jiang Jiang Jiang
            huguesb Hugues Bruant
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes