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

Qt draw combined emoji incorrect on Mac

    XMLWordPrintable

Details

    • macOS

    Description

      Emoji like these below:

      πŸ‘©πŸ»β€πŸ€β€πŸ‘©πŸΌΒ  Β  Β  πŸ‘©πŸ½β€β€οΈβ€πŸ‘¨πŸ»

      code:

      QImage img(100, 100);

      QPainter painter(&image);

      QFont font("Apple Color Emoji");

      font.setPixelSize(16);

      painter.setFont(font);

      painter.drawText(img.rect(), Qt::AlignCenter, "πŸ‘©πŸ½β€β€οΈβ€πŸ‘¨πŸ»")

      //orΒ 

      //painter.drawText(img.rect(), Qt::AlignCenter, "πŸ‘©πŸ»β€πŸ€β€πŸ‘©πŸΌ ")

      Β 

      correct display (in mac own APP)

      incorrect display(draw by QPainter)

      a large space will exist between emoji component.

      Β 

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            yuyu Yu YU
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes