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

Font Antialias

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P2: Important
    • None
    • 5.14.0
    • GUI: Font handling
    • None
    • Windows
    • 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

            esabraha Eskil Abrahamsen Blomfeldt
            mainjzb mainjzb
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes