How to avoid DirectWrite error/warning?
-
wrote on 7 Nov 2021, 16:56 last edited by deleted385 11 Jul 2021, 16:56
This is the first time I got this in Qt Creator output.
DirectWrite: CreateFontFaceFromHDC() failed (Indicates an error in an input file such as a font file.) for QFontDef(Family="8514oem", pointsize=9, pixelsize=20, styleHint=5, weight=400, stretch=100, hintingPreference=0) LOGFONT("8514oem", lfWidth=0, lfHeight=-20) dpi=192
I got this when I was resizing the window with the resize grip at the bottom right corner, the app didn't crash.
-
This is the first time I got this in Qt Creator output.
DirectWrite: CreateFontFaceFromHDC() failed (Indicates an error in an input file such as a font file.) for QFontDef(Family="8514oem", pointsize=9, pixelsize=20, styleHint=5, weight=400, stretch=100, hintingPreference=0) LOGFONT("8514oem", lfWidth=0, lfHeight=-20) dpi=192
I got this when I was resizing the window with the resize grip at the bottom right corner, the app didn't crash.
wrote on 7 Nov 2021, 16:59 last edited by JonB 11 Jul 2021, 17:03@Emon-Haque said in How to avoid DirectWrite error/warning?:
DirectWrite: CreateFontFaceFromHDC() failed (Indicates an error in an input file such as a font file.)
-
@Emon-Haque said in How to avoid DirectWrite error/warning?:
DirectWrite: CreateFontFaceFromHDC() failed (Indicates an error in an input file such as a font file.)
wrote on 7 Nov 2021, 17:19 last edited by@JonB, tried several times to reproduce that error BUT couldn't. Feels like an error one can get only once! I haven't used any font resource in the application.
-
@JonB, tried several times to reproduce that error BUT couldn't. Feels like an error one can get only once! I haven't used any font resource in the application.
wrote on 7 Nov 2021, 17:32 last edited by@Emon-Haque From the bug report, I wouldn't worry about it, cross fingers it won't come up again.
1/4