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

Simple TTF fails to render with distance field...

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.8.0 Beta
    • 5.4.1
    • Quick: SceneGraph
    • None
    • Windows
    • ac6a26a3888a6fb767d492ddd2edabf5881c997f

    Description

      Check out the attached font. When rendering in QML I get warning spew as below and the text doesn't render. If I disable distance fields, the font renders.

      In looking at the code, it seems that perhaps qsgadaptationlayer.cpp doesn't handle cases where the font has a small subset of glyphs? Hard to say. This font only has some basic english letters and numbers in it.

      Warning Spew:
      ============

      Warning: distance-field glyph is not available with index 32
      Warning: distance-field glyph is not available with index 116
      Warning: distance-field glyph is not available with index 104
      Warning: distance-field glyph is not available with index 101
      Warning: distance-field glyph is not available with index 32
      Warning: distance-field glyph is not available with index 108
      Warning: distance-field glyph is not available with index 97
      Warning: distance-field glyph is not available with index 122
      Warning: distance-field glyph is not available with index 121
      Warning: distance-field glyph is not available with index 32
      Warning: distance-field glyph is not available with index 100
      Warning: distance-field glyph is not available with index 111
      Warning: distance-field glyph is not available with index 103
      Warning: distance-field glyph is not available with index 46

      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
              snichols Stephen Nichols
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes