All my fonts are appearing pixelated, so I used AntiAliasing but it isn't helping 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))
I tried different solutions on SO, qtforums etc but nothing works for me :(
I tried:
Different combinations of
ClearType textbut It didn't work out as, by default all the text appears good on windows and chrome but withQtonly, 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
