- 
    Bug 
- 
    Resolution: Done
- 
    P2: Important 
- 
    5.4.1
- 
    None
- 
    Windows
- 
        ac6a26a3888a6fb767d492ddd2edabf5881c997f
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
- relates to
- 
                    QTBUG-36736 Distance-field glyph is not available with index x -         
- Closed
 
-         
| For Gerrit Dashboard: QTBUG-45321 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V | 
| 174466,2 | Windows: Fix distance field rendering with fonts with broken cmap | 5.8 | qt/qtdeclarative | Status: MERGED | +2 | 0 |