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

Thai rendering issue in S60 Qt

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 4.6.3
    • 4.6.0
    • None
    • 2559aea71b0edd8062179d8051c10a515e55777f

    Description

      This bug was transferred here from an internal bug tracking system:


      Details Description:

      Please specify the following information:

      • Use case:

      Trying to show text in Thai

      • Steps to reproduce:

      Create application, where you render same Thai text twice. First with Plain S60 font, then with Bold S60 font. when rendered with bold font, Thai is not readable, since all character swapped with the one next in unicode.

      How to as font in QT application :

      QString fontFamily = "Series 60 Sans";
      myBoldFont = new QFont( fontFamily, 7, QFont::Bold); // S60 primary font
      myPlainFont = new QFont( fontFamily, 7, QFont::Normal); // S60 secondary font

      • Actual outcome:

      Attached is QTThai.PNG, where every second text is rendered with myPlainFont, and every second with myBoldFont. Text rendered with myBoldFont shows charecters with next unicode valiue compared to myPlainFont.

      • Expected outcome:

      Bold text should be readable also.

      • Other info:

      Attachments

        1. QtThai.PNG
          QtThai.PNG
          16 kB
        2. qttestapp1.zip
          42 kB
        3. QTBUG-6812_fix02.patch
          3 kB
        4. QTBUG-6812_fix01.patch
          3 kB
        5. FontVariations.zip
          1 kB
        6. FontVariations.png
          FontVariations.png
          102 kB
        7. FontVariations_fix01.png
          FontVariations_fix01.png
          137 kB

        Issue Links

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

          Activity

            People

              portale Alessandro Portale
              portale Alessandro Portale
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes