Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.12.7
-
Microsoft Surface Pro 4
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.)