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

Emojis don't render as colour emojis, if the default font has black and white versions

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.15.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Any Linux distro with Qt up to version 5.15
    • Platform/s:
      Linux/Wayland, Linux/X11

      Description

      When you have the following qml (also works with widgets, etc):

      import QtQuick 2.2
      
      Text {
       width: 200
       wrapMode: Text.Wrap
       textFormat: Text.RichText
       text: "����"
      }
      

      It will render all but the last emoji without colour and the last one with colour. Currently I have to surround all emojis with a font tag, that selects a colour emoji font, just so that I can have coloured emojis. I would appreciate it, if Qt would actually render these emojis as colour emojis, so that I don't need to use the RichText format. This probably happens because DejaVu Sans supports some of those emojis, but only in black and white.

      https://bugreports.qt.io/browse/QTBUG-71929 seems to have also described this issue, but it was closed as a duplicate of a Windows bug, that was fixed with a Windows specific patch in 5.15. Since I can still reproduce this on Linux, this seems to still be an issue.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              esabraha Eskil Abrahamsen Blomfeldt
              Reporter:
              deepbluev7 Nicolas Werner
              Votes:
              6 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes