Details
-
Bug
-
Resolution: Incomplete
-
P1: Critical
-
5.14.0 Beta 1, 5.14.0 Beta3, 5.14.0 RC1, 5.14
-
None
-
mingw or vs2017
Description
When using an embedded OTF font in QML Text element i get these erros :
DirectWrite: CreateFontFaceFromHDC() failed ((Indicates an error in an input file such as a font file.) for QFontDef(Family="MS Shell Dlg 2", pointsize=8.25, pixelsize=11, styleHint=5, weight=50, stretch=100, hintingPreference=0) LOGFONT("Roboto", lfWidth=0, lfHeight=-11) dpi=96
DirectWrite: CreateFontFaceFromHDC() failed ((Indicates an error in an input file such as a font file.) for QFontDef(Family="MS Shell Dlg 2", pointsize=8.25, pixelsize=11, styleHint=5, weight=50, stretch=100, hintingPreference=0) LOGFONT("Noto", lfWidth=0, lfHeight=-11) dpi=96
Only happens since Qt 5.14, works correctly on 5.13.0.
Tried with different otf fonts and different projects, still same issue.
When this warning happens, the Text rendering is strange, with random character spacing etc...
Attachments
Issue Links
- is duplicated by
-
PYSIDE-1172 Warnings about fonts
- Closed
- relates to
-
QTBUG-57180 DirectWrite: CreateFontFaceFromHDC() failed
- Closed
-
QTBUG-129118 "DirectWrite: CreateFontFaceFromHDC() failed" Qt warnigns
- Closed