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

Without HarfBuzz it is not possible to use Unicode Private Use Area characters

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.5.2, dev
    • GUI: Text handling
    • None

    Description

      The width reported for a character used from Unicode Private Use Area seems to be always reported as '0' (regardless if the font contains the character or not) if HarfBuzz is not available.

      Expected behavior: If HarfBuzz is necessary to draw such characters, at least the character should be represented by a placeholder like other unavailable characters and this should also be logged. Now, if you happen to do

      QLabel label("\ue000");
      label.show();
      

      This widget will never be shown.

      In Qt Quick, Text will occupy space, but there will be nothing drawn inside (not even a placeholder).

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            fuzun Fatih Uzunoglu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes