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

Dynamic FontLoader instantiation causes improper font rendering

    XMLWordPrintable

Details

    • Windows

    Description

      When Qt::AA_EnableHighDpiScaling flag is set, and screen scaling is set to 200% (as recommended) loading fonts via FontLoader dynamically (e.g. via StackView) causes warnings printed and improper font rendering.

       
      Application output:

      QWindowsFontEngineDirectWrite::addGlyphsToPath: GetGlyphRunOutline failed (The parameter is incorrect.)
      QWindowsFontEngineDirectWrite::addGlyphsToPath: GetGlyphRunOutline failed (The parameter is incorrect.)
      QWindowsFontEngineDirectWrite::addGlyphsToPath: GetGlyphRunOutline failed (The parameter is incorrect.)
      QWindowsFontEngineDirectWrite::addGlyphsToPath: GetGlyphRunOutline failed (The parameter is incorrect.)

       
       
       

      Attachments

        1. font_rendering_problem_1.png
          font_rendering_problem_1.png
          7 kB
        2. font_rendering_problem_2.png
          font_rendering_problem_2.png
          6 kB
        3. FontRenderingProblem.zip
          360 kB
        4. Main.qml
          0.7 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            michalc Michał Cieślak
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes