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

Very strange rendering of unicode string

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.2.0
    • 4.6.3
    • GUI: Font handling
    • None
    • Debian squeeze

    Description

      Some strings are rendered very strangely.

      E.g: \x1D164\x1D164\x61\x73\xFFFD\x68\xFFFd\x1D164\x1D164

      contains only three ascii characters like "ash", but is rendered like "asash" (see image)

      In fact this problem happens with all strings containing \x1D164.
      If you have n repeatitions of the semihemidemisemiquaver note \x1D164, and then n ascii characters X and then n ascii characters Y, you get n times \x1D164 and XX while Y is ignored. (e.g. \x1D164\x1D164xxyy)

      This happens everywhere from QPainter to QLineEdit to QTextEdit

      Attachments

        1. qtbug.png
          qtbug.png
          3 kB
        2. qtbugutf16
          0.0 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ritt.ks Konstantin Ritt
            benibela Benito van der Zander
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes