DirectWrite: CreateFontFaceFromHDC() failed



  • I had a project on Qt 5.5.1 and all was fine but today i had upgraded Qt to 5.7 and then i had the following error on runtime it doesn't crash the app but it is making me crazy as it was not there before

    ```
    

    DirectWrite: CreateFontFaceFromHDC() failed (Indicates an error in an input file such as a font file.) for QFontDef(Family="Small Fonts", pointsize=15, pixelsize=20, styleHint=5, weight=50, stretch=100, hintingPreference=0) LOGFONT("Small Fonts", lfWidth=0, lfHeight=-20) dpi=96 DirectWrite: CreateFontFaceFromHDC() failed (Indicates an error in an input file such as a font file.) for QFontDef(Family="System", pointsize=15, pixelsize=20, styleHint=5, weight=50, stretch=100, hintingPreference=0) LOGFONT("System", lfWidth=0, lfHeight=-20) dpi=96

    
    How can I fix it?

  • Qt Champions 2016

    Hi
    Never saw such message before.
    Can you make a small test that give this error/warning?

    Have you tried on other Pc?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.