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

Monotype Spark font engine fails to render text with Noto Sans JP font

    XMLWordPrintable

Details

    Description

      Steps to reproduce

      1. Run the attached project as-is. It is configured with
        • fontEngine: "Spark"
        • defaultFontFamily: "Noto Sans JP"
      2. Re-run the project after switching to
        • fontEngine: "Static"
        • defaultFontFamily: "Noto Sans JP"
      3. Re-run the project after replacing "font/NotoSansJP-Regular.ttf" with "font/NotoSansTC-Regular.ttf" and switching to
        • fontEngine: "Spark"
        • defaultFontFamily: "Noto Sans TC"

       

      Outcomes

      • Steps #2 and #3 produce the expected output
      • Step #1 fails to render any text. The debug output shows
      Msitype_set_scale error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_get_graymap error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_get_graymap error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_get_graymap error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_get_graymap error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_get_graymap error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_get_graymap error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_get_graymap error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_get_graymap error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_get_graymap error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_get_graymap error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_get_graymap error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_get_graymap error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_get_graymap error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_get_graymap error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_get_graymap error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_get_graymap error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_get_graymap error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_get_graymap error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_get_graymap error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_get_graymap error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_get_graymap error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_map_char error: ERR_CMAP_FAIL
      MsiType_get_graymap error: ERR_CMAP_FAIL
      

      Attachments

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

        Activity

          People

            srodal Samuel Rødal
            skoh-qt Sze Howe Koh
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes