Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P2: Important
-
Resolution: Done
-
Affects Version/s: 5.12.7
-
Fix Version/s: 5.15.0
-
Component/s: GUI: Font handling
-
Labels:
-
Environment:Microsoft Surface Pro 4
-
Platform/s:
Description
When Qt::AA_EnableHighDpiScaling flag is set, and screen scaling is set to 200% (as recommended) loading fonts via FontLoader dynamically (e.g. via StackView) causes warnings printed and improper font rendering.
Application output:
QWindowsFontEngineDirectWrite::addGlyphsToPath: GetGlyphRunOutline failed (The parameter is incorrect.) QWindowsFontEngineDirectWrite::addGlyphsToPath: GetGlyphRunOutline failed (The parameter is incorrect.) QWindowsFontEngineDirectWrite::addGlyphsToPath: GetGlyphRunOutline failed (The parameter is incorrect.) QWindowsFontEngineDirectWrite::addGlyphsToPath: GetGlyphRunOutline failed (The parameter is incorrect.)