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

Qt doesn't respect variation selectors for PUA characters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • 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

      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:

       

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

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

              Created:
              Updated:

                There are no open Gerrit changes