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

Garbled character is displayed when switching Arabic to another language

    XMLWordPrintable

Details

    • macOS, QNX, Windows
    • 43a63901f4eb61ad8a29f4cc7a1700685f88ec35 (qt/qtbase/dev) 432acc2794be4bb3fa98c7319b7824bf2fec44d4 (qt/qtbase/6.2) 6a2b565b5bed2616a4f5b7a14931e09594f4670b (qt/qtbase/6.1) 41fabc9b2729f401a4a2953870d5f4753ad064f0 (qt/tqtc-qtbase/5.15)

    Description

      Symptom

      Garbled character is displayed when switching Arabic to another language. I attached sample program (source code) that reproduces the problem.Garbled character is displayed when switching Arabic to another language. I attached sample program (source code : ArabicFontChangeSample.zip) that reproduces the problem.

      Steps to Reproduce

      1. Launch the sample program
      2. Click a button labeled "Arabic"
      3. Click a button labeled "Japanese"
      4. Garbled characters are displayed

       

      Notes

      • This symptom happens when selecting Arabic first then switch to another language. If Japanese or English is selected first, this symptom never happens.
      • This symptom only happens when “NoFontMerging” is specified as QFont::StyleStrategy option. "NoFontMerging" is specified in main.cpp.

       

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-81770
          # Subject Branch Project Status CR V

          Activity

            People

              esabraha Eskil Abrahamsen Blomfeldt
              sfukuda Shin Fukuda
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes