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

Font substitution does not work for glyph fallback

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.2.0
    • Fix Version/s: 5.3.0
    • Component/s: GUI: Font handling
    • Labels:
      None
    • Environment:
      Windows 8.1
    • Commits:
      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

          Issue Links

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

            Activity

              People

              Assignee:
              ritt.ks Konstantin Ritt
              Reporter:
              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