Uploaded image for project: 'Qt for MCUs'
  1. Qt for MCUs
  2. QTMCU-128

Space " " in unicodeCoverage list not processed properly

    XMLWordPrintable

Details

    Description

      If using the following:

      Qt.font(

      { pixelSize: 22, unicodeCoverage: [[0x30, 0x39], [0x41, 0x5A], [0x61, 0x7A], " "] }

      )

      The font is expected to include characters 0-9, A-Z, a-z, and the space character.

      But it appears that the space character is not rendered correctly with static font engine (glyph is missing).

      There are a few workarounds:
      1. Add an additional character after the space character to the unicodeCoverage list, e.g. "!"
      2. Instead of using " ", give a range [0x20, 0x20]

      Please find the example which reproduces the issue attached.

      Attachments

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

        Activity

          People

            paeglis Gatis Paeglis
            foxxx Tuukka Kettunen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes