Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-1316

Pixelated fonts in QT.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.15.0, 5.14.2.1, 5.14.2.2
    • PySide
    • None
    • Windows

    Description

      All the fonts are appearing pixelated in QT. Whether you use AntiAliasing or not it always remains pixelated so it's not working out. As you can see the pixelated font in the image itself:

      This is the code I am currently using:
       
      butt1 = QtWidgets.QLabel("""Scrappr""")font = QtGui.QFont()font.setStyleStrategy(QtGui.QFont.PreferAntialias)font.setPixelSize(22)font.setFamily('Segoe UI Bold')butt1.setFont(QtGui.QFont(font))

      It's probably a bug in QT version 14 and 15. It was not there till 13. Many users are facing this

      I tried:

      • Different combinations of ClearType text but It didn't work out as, by default all the text appears good on windows and chrome but with Qt only, it becomes pixelated.
      • Changing windows aero theme to classic one...

      But none of them helped.

      Here are My PC Specs:

      • windows: 7 ultimate
      • PySide2 version: 5.14.2.1
      • Resolution: 1360 X 768

      I repeat again, versions greater than v5.13 i.e 14 and 15 have this problem but it worked well with 13...

      Attachments

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

        Activity

          People

            crmaurei Cristian Maureira-Fredes
            abhay Abhay Salvi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes