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

Support Qt::WindingFill for QML text

    XMLWordPrintable

Details

    • 4f4da7462bd1ea81c15136d90a0ba71aefbf793e

    Description

      I have encountered chinese font rendering artifact in many SAMSUNG android phones when rendering large and bold chinese characters using Qt-android 5.3.1
      The attached qtquick based sample program can reproduce this issue.

      I can also produce this issue with QPainterPath, but if I draw the font path with Qt::WindingFill fill rule the artifact was gone. It seems that the path read from the chinese font glyph has intersection which will cause the artifact when filling with the default Qt::OddEvenFill rule.
      I think the chinese font installed in SAMSUNG phone is special compared to other phone, I am not sure whether this is a bug of SAMSUNG phone or Qt font handling.

      Attachments

        1. font.png
          font.png
          22 kB
        2. qtbug41197.zip
          2.64 MB
        3. testQuickFont.rar
          1 kB

        Issue Links

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

          Activity

            People

              esabraha Eskil Abrahamsen Blomfeldt
              jianliang79 liang jian
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes