Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-111801 Emoji font selection in Qt
  3. QTBUG-121406

Implement detection of emoji sequences

    XMLWordPrintable

Details

    • Technical task
    • Resolution: Unresolved
    • P2: Important
    • None
    • GUI: Text handling
    • None
    • All

    Description

      Unicode has a concept of emoji presentation sequences: https://www.unicode.org/reports/tr51/#def_emoji_presentation_sequence

      This includes:

      • Characters that are predefined as emojis by the Unicode data,
      • Flag sequences
      • Tag sequences
      • Keycap sequences
      • ZWJ sequences

      The shaper can handle clustering and glyph selection here, but we need to make sure the correct font is applied to the entire sequence. Therefore, we have to predetect these sequences and make sure that we select a color font for them (either the current font or a system default color font).

      Hopefully, we can do this by parsing the strings and detecting these sequences ahead of time, and put these in separate QScriptItems and then in the font matcher we need to prefer emoji fonts for these.

      Attachments

        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
              esabraha Eskil Abrahamsen Blomfeldt
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes