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

Font Antialias

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.14.0
    • Fix Version/s: None
    • Component/s: GUI: Font handling
    • Labels:
      None
    • Environment:
      Windows
    • Platform/s:
      Windows

      Description

      Set Qt stylesheet for QLable.

      QWidget{
          font-size:40px;
          font-family:"Microsoft YaHei";
      
      }
      
      	QFont f = QApplication::font();
              f.setFamily("Microsoft YaHei");
      	f.setStyleStrategy(QFont::PreferAntialias);
      	QApplication::setFont(f);
      

      Running in Qt5.13.2 and Qt5.14.0 get different displays.
      The same UI file runs in different versions get different displays.
      Antialias doesn't seem to work

        Attachments

        1. Qt_5.13.2.png
          Qt_5.13.2.png
          2 kB
        2. Qt_5.14.0.png
          Qt_5.14.0.png
          2 kB
        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:
            mainjzb mainjzb
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes