There were a couple of problems with synthesizing boldness on Windows: For the DirectWrite font database, this was not implemented at all, so this change adds support for it. For the default GDI font database, the font engine is correctly created for a font with synthetic bold, but the function that retrieves the contours from the font does not apply the transformation. So when generating the distance fields for Qt Quick, we would get the unemboldened contours. The fix for this is simply to fall back to using DirectWrite for fonts that require any synthetization. This will later become the default anyway. Pick-to: 6.6 6.5 Fixes: QTBUG-119995 Change-Id: I5b4e3b19d0d71c6599746172da0bee41e8fb3940 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> (cherry picked from commit 05de036a8855adbdd882942d2fb61c231b02bf5a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
…
…
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%