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

Font substitution does not work for glyph fallback

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.3.0
    • 5.2.0
    • GUI: Font handling
    • None
    • Windows 8.1
    • c3b2425791ec1e17a8b1e2f5b35b8e79176fc9c4 800232e1d3ebfbac28d07014a3c646ea00fcf6ad

    Description

      A mix out of Arabic and Japanese glyphs should be rendered with two different fonts which are chosen. For example the Arabic glyphs should be rendered in "Arial" and the Japanese glyphs in "SimHei". So set font substitution of Arial to "SimHei" with QFont::insertSubstitutions("Arial", QStringList("SimHei"));

      Expected result is the Arabic glyphs should be rendered in "Arial" and the Japanese glyphs in "SimHei", but turns out that Japanese glyphs are rendered in "MS Gothic".

      Attachments

        1. NewFontTest.zip
          2 kB
          Andreas Holzammer

        Issue Links

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

          Activity

            People

              ritt.ks Konstantin Ritt
              aholza Andreas Holzammer
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes