Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-75333

[Reg 5.12.2-> 5.13.0] Font fallback is not working for Courier font

    XMLWordPrintable

Details

    • Windows
    • ac68ef1efc27669e9c8fc255298345d72d198d68 (5.13.0) 825b474363167cfd91509e15b8846e11b8560dac (5.13.1)

    Description

      In Qt 5.12.2, font fallback was working correctly for Courier, but it's not working in Qt 5.13 beta1 nor beta2
      The Courier font is falling back to MS FixedSys instead of Courier New and getting following warning with 5.13.0

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

      See the attached example and snapshots for 5.12.2 and 5.13.0

      Attachments

        1. qtbug75333.zip
          3 kB
        2. qtbug75333_5122.PNG
          qtbug75333_5122.PNG
          43 kB
        3. qtbug75333_5130.PNG
          qtbug75333_5130.PNG
          52 kB
        4. qtbug75333.zip
          1 kB

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              andysh Andy Shaw
              shmittal Shveta Mittal
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes