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

After commit 2e29a427ca, text is still less anti aliased

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.4.0 FF
    • None
    • Windows 11 22000.469 DPI 175% Screen 16-inch 2560*1600
    • Windows

    Description

      I think the bug is related to the line below

      https://github.com/qt/qtbase/blob/d54bb5324762ff24a012049dcf5b1b1520d9e9e8/src/gui/text/windows/qwindowsfontenginedirectwrite.cpp#L203

       I make a breakpoint on this line, and find fontDef.pixelSize is always 12 when point size of the font is 10 whatever DPI is changed to 120,144 or even 192.

      I try to find where fontDef.pixelSize is changed but failed.

      Can somebody tell me why the variable is always 12? I'm sure that it leads to fonts in some point sizes look still less anti aliased for after I make the text larger, the text is anti aliased.

       

      An screenshot is in attachment.

      Attachments

        Issue Links

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

          Activity

            People

              esabraha Eskil Abrahamsen Blomfeldt
              alphagocc Zhekai Li
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes