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

Make bidi algorithm support mirrored open/close punctuation outside BMP

XMLWordPrintable

    • All
    • 5d357dfea (dev), f1691a8e1 (6.10), 322b8753e (6.9), c5ca77e8e (tqtc/lts-6.8), 851db3aa3 (tqtc/lts-6.5)

      In QBidiAlgorithm::resolveN0() there is an assumption that only BMP characters can have categories open-punctuation or close-punctuation. This is currently the case, but if supplementary characters are added with these properties, then they will be unsupported by Qt.

      For robustness, we should resolve surrogates in this code like we do elsewhere.
      In the mean time, it may be a good idea to add an assertion in the qtbase/utils/unicode/ program about the current status quo remaining true, so we know if this becomes urgent.

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

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

              Created:
              Updated:
              Resolved: