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

Distance-field glyph is not available with index x

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P2: Important
    • None
    • 5.2.0
    • None
    • Win7 64bit - Qt 5.2.0 x86 MSVC2012 - QtQuick 2.2

    Description

      Using OTF font for Arabic/Persian text results following warning without any visible text...
      ...
      Warning: distance-field glyph is not available with index 1575
      Warning: distance-field glyph is not available with index 1688
      Warning: distance-field glyph is not available with index 1608
      Warning: distance-field glyph is not available with index 1604
      Warning: distance-field glyph is not available with index 1587
      Warning: distance-field glyph is not available with index 1575
      Warning: distance-field glyph is not available with index 1582
      Warning: distance-field glyph is not available with index 1578
      ...

      Text {
                  id: txt
                  //text: "some text" //Works!
                  text: "some text مرگ بر آمریکا" //Not works!
                  verticalAlignment: Text.AlignVCenter
                  font {
                      family: "Adobe Arabic"
                      pixelSize: 16
                  }
      }
      

      More info about font:
      Adobe Arabic - version 2.006 - OpenType Layout - PostScript Outlines -> Failed!
      BBCNassim - version 1.051 - OpenType Layout - PostScript Outlines -> Failed!
      BBCNassim - version 1.051 - OpenType Layout - TrueType Outlines -> SUCCESS!

      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
              seyed S.M.Mousavi
              Votes:
              3 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes