- 
    
Bug
 - 
    Resolution: Done
 - 
    
P2: Important
 - 
    5.7.0, 5.8.0 Beta
 - 
    Windows
 
- 
        104e6d0f5427f5ebaab106b1651eb76c4c56df98, 8d6522ddd0dcc90e0551f87be9d1a6452f365548
 
When having a QML Text (with NativeRendering set) with QT_SCALE_FACTOR=2 and FreeType font engine, any text with size 32 or more is clipped and scaled wrong. Changing any of these previous factors fixes the issue: QT_SCALE_FACTOR -> 1 or remove the FreeType font engine.
Steps to reproduce:
- Run attached sample
 - EXPECTED: The text "pixelSIZE 32" is bigger than "pixelSIZE 31" and not clipped
 - ACTUAL: The text "pixelSIZE 32" is clipped and way too small
 
| For Gerrit Dashboard: QTBUG-55856 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V | 
| 176347,2 | Freetype: Fix device pixel ratio with large fonts | 5.8 | qt/qtbase | Status: MERGED | +2 | 0 | 
| 176355,2 | Freetype: Disable outline drawing when drawing to pixmap cache | 5.8 | qt/qtbase | Status: MERGED | +2 | 0 |