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 Updated to NodeBB v4.3 + New Features

How to avoid DirectWrite error/warning?

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 2 Posters 1.1k Views 1 Watching
  • 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 last edited by deleted385
    #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.

    JonBJ 1 Reply Last reply
    0
    • D deleted385

      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.

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by JonB
      #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
      2
      • JonBJ JonB

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

        JonBJ 1 Reply Last reply
        0
        • D deleted385

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

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on 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

          • Login

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