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

Text.QtRendering does not render some dingbat glyph

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.6.2
    • 5.4.0, 5.5.0, 5.6.0
    • GUI: Text handling
    • None
    • Linux Mint 17.2 Rafaela
    • c2d3c2b9f97cd842f2cbcc28acbc7a140b45222f

    Description

      I try to show some dingbat glyph with attached font file.
      When I use Text.NativeRendering for Text renderType property, it is successful.
      But with Text.QtRendering, it is failed.

      import QtQuick 2.0
      
      Rectangle {
          id: root
      
          visible: true
          width: 1080
          height: 720
      
          FontLoader {
              id: myDingbatFont
              source: "./MyDingbat.ttf"
          }
      
          Column {
              id: view
      
              anchors.fill: parent
      
              Text {
                  id: glyph
                  font.pixelSize: 32
                  font.family: myDingbatFont.name
                  renderType: Text.QtRendering     // qmlscene: malloc.c:3996: _int_free: Assertion `nextchunk->fd_nextsize->bk_nextsize == nextchunk' failed.
                  //renderType: Text.NativeRendering // Success
                  text: "\ua500" + "\ua501" + "\ua502" + "\ua503" + "\ua504" + "\ua505"
              }
          }
      }
      

      Attachments

        Issue Links

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

          Activity

            People

              esabraha Eskil Abrahamsen Blomfeldt
              raphael.kim kim raphael
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes