Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
4.8.0, 5.6.0 Beta
-
None
-
21c7421d4e86b6048f9c2c7a9a81ec4ff1ed278c
Description
If you configure Qt with -directwrite, add an application font using either QFontDatabase::addApplicationFont() or QFontDatabase::addApplicationFontFromData(), and then try to select this font using any of the none or vertical hinting preferences, you would expect to get support for this. However, due to limitations in the DirectWrite back-end, it will fall back to using GDI and full hinting. In a debug build you will see the warning message "QFontEngine::loadEngine: CreateFontFromLOGFONT failed".
A possible work-around for this is to handle the fonts especially and use QRawFont to load them instead.
Attachments
Issue Links
- is duplicated by
-
QTBUG-51260 qt-enterprise-windows-x86-msvc2015-5.6.0-rc_344.exe/HighDPI : Warnings from qtquickcontrols/examples/quick/extras/gallery
- Closed