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

Qt doesn't respect variation selectors for PUA characters

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 6.9.1
    • GUI: Text handling
    • None
    • EndeavourOS (= Arch Linux, last updated July 6)
      Qt 6.9.1
      KDE Plasma 6.4.2
      KDE Frameworks 6.15.0

    Description

      Variation selectors aren't respected for PUA characters. This means that characters encoded in the UCSUR, for example, sitelen pona, won't be able to make use of them to show variant characters.

      STEPS TO REPRODUCE

      This requires the nasin nanpa font to render the needed PUA characters. Download the version labelled UCSUR.

      QML:

       

      import QtQuick
      Window {
          width: 640
          height: 480
          visible: true
          title: qsTr("Hello World")
          Text {
              font.pixelSize: 100
              font.family: "nasin-nanpa"
              // [sewi] [sewi][VS1]
              text: "\uDB86\uDD5A \uDB86\uDD5A\uFE00"
          }
      }
      

      Expected appearance (taken from Firefox):

       

      Actual appearance:

       

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            jgcodes2020 Jacky Guo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes