For populating the freetype font database on Windows, we're using GDI, which does not support color fonts. Therefore we were registering all system fonts as monochrome, which was okay, because our Freetype backend did not actually support the color font format used on Windows. Since 29a1c57183958b3951db4e7ba9504918a3caa761 we now support COLR fonts, so they should be added with the correct properties. Since GDI does not provide this information, we create a temporary freetype face from the font file when resolving the family during matching. Fixes: QTBUG-132255 Change-Id: Ib62632de7fe8d9dc533abe4ae2368090a382cca7 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 81e596c24fc106439ce4135478a2d18d23fdbaac) 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%