Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to avoid DirectWrite error/warning?
Forum Update on Monday, May 27th 2025

How to avoid DirectWrite error/warning?

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 2 Posters 950 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    deleted385
    wrote on 7 Nov 2021, 16:56 last edited by deleted385 11 Jul 2021, 16:56
    #1

    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.

    J 1 Reply Last reply 7 Nov 2021, 16:59
    0
    • D deleted385
      7 Nov 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.

      J Offline
      J Offline
      JonB
      wrote on 7 Nov 2021, 16:59 last edited by JonB 11 Jul 2021, 17:03
      #2

      @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.)

      https://bugreports.qt.io/browse/QTBUG-57180 ?

      D 1 Reply Last reply 7 Nov 2021, 17:19
      2
      • J JonB
        7 Nov 2021, 16:59

        @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.)

        https://bugreports.qt.io/browse/QTBUG-57180 ?

        D Offline
        D Offline
        deleted385
        wrote on 7 Nov 2021, 17:19 last edited by
        #3

        @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.

        J 1 Reply Last reply 7 Nov 2021, 17:32
        0
        • D deleted385
          7 Nov 2021, 17:19

          @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.

          J Offline
          J Offline
          JonB
          wrote on 7 Nov 2021, 17:32 last edited by
          #4

          @Emon-Haque From the bug report, I wouldn't worry about it, cross fingers it won't come up again.

          1 Reply Last reply
          0

          1/4

          7 Nov 2021, 16:56

          • Login

          • Login or register to search.
          1 out of 4
          • First post
            1/4
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved