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

QFont::setStyleStrategy( QFont::NoAntialias ) does not disable antialiasing in QWS

    XMLWordPrintable

Details

    • 5f5c9ba6810071bc7bb369afd2aac99064177ce7, c5cb91a714f3fa38aeab41c6e793a5a3d071dcef

    Description

      Using Qt for Embedded Linux 4.5.3 disabling antialiasing of fonts is not possible using QFont::setStyleStrategy( QFont::NoAntialias ).

      Using the same code below on X11 works, but does not when using QWS.

      #include <QtGui/QApplication>
      #include <QLabel>
      
      int main(int argc, char *argv[])
      {
          QApplication a(argc, argv);
          QFont font = a.font();
          font.setStyleStrategy(QFont::NoAntialias);
          a.setFont(font);
          QLabel label("I have blue eyes and only 4\nfingers");
          label.show();
          return a.exec();
      }
      

      Attachments

        Issue Links

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

          Activity

            People

              tvete Paul Olav Tvete
              janichol Andy Nichols
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes