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

[REG 5.13.0 -> 5.14.0]OTF fonts don't work correctly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Need More Info
    • Priority: P1: Critical
    • Resolution: Incomplete
    • Affects Version/s: 5.14.0 Beta 1, 5.14.0 Beta3, 5.14.0 RC1, 5.14
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      mingw or vs2017
    • Platform/s:
      Windows

      Description

      When using an embedded OTF font in QML Text element i get these erros : 

      DirectWrite: CreateFontFaceFromHDC() failed ((Indicates an error in an input file such as a font file.) for QFontDef(Family="MS Shell Dlg 2", pointsize=8.25, pixelsize=11, styleHint=5, weight=50, stretch=100, hintingPreference=0) LOGFONT("Roboto", lfWidth=0, lfHeight=-11) dpi=96

      DirectWrite: CreateFontFaceFromHDC() failed ((Indicates an error in an input file such as a font file.) for QFontDef(Family="MS Shell Dlg 2", pointsize=8.25, pixelsize=11, styleHint=5, weight=50, stretch=100, hintingPreference=0) LOGFONT("Noto", lfWidth=0, lfHeight=-11) dpi=96

      Only happens since Qt 5.14, works correctly on 5.13.0.

       

      Tried with different otf fonts and different projects, still same issue.

      When this warning happens, the Text rendering is strange, with random character spacing etc...

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              esabraha Eskil Abrahamsen Blomfeldt
              Reporter:
              AlGrenadine Alexandre GRANVAUD
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes