-
-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Icons are looking bad on Windows 7 #4
Comments
From the title and text of your screenshot, it seems your Windows version is not using anti-aliasing. |
We should be able to force anti-aliasing with |
I tried that. It made no difference. But let me know |
Ok so it seems that when TrueType is enabled in windows, qtawesome results in aliased icons. This is unexpected, because apparently qt should use trueype if enabled... |
I also tried using Besides, forcing the size to be multiple of 14, which is the pixel perfect size of font awesome and the spyder makes anti-aliasing less necessary. |
@SylvainCorlay, yep I had tried that one as well, but it is a weird "bug" from qt I think. Still even at pixel perfect if no antialias is in place icons will look pixelated like an 80's game :-) |
Actually at pixel perfect size, it is difficult to see the difference .The problem remains for brand icons and such, (like the Python logo) which are not meant to be pixel perfect. |
@ccordoba12 I had some questions on gitter regarding your qt build on windows. |
We don't build Qt on Windows. We just use the binaries supplied by Riverbank (the company behind PyQt) |
It seems that the binaries are not configured to use directwrite on Windows 7. See: http://pyqt.sourceforge.net/Docs/PyQt4/qfont.html Please be aware that altering the hinting preference on Windows is available through the DirectWrite font engine. This is available on Windows Vista after installing the platform update, and on Windows 7. In order to use this extension, configure Qt using -directwrite. The target application will then depend on the availability of DirectWrite on the target system. |
Then what do we (i.e. Continuum) should do about it? Should we ask Riverbank for that option? |
It seems that directwrite was intended to replace GDI and should probably be the preferred way of rendering fonts on screen. Although I should make some more experiments with my own build to be able to make an educated recommendation. The problem is that I don't use windows too often and my development machine is a Linux one. @kovidgoyal replied to my email on the PyQt mailing list with some pointers at where to look A few observations though:
|
Ok, let me know what you find to see what we can do about it in our side :-) |
Btw, there is also the
|
@ccordoba12 you guys now ship freetype with Anaconda? |
Yes, I think we have it available on all platforms. I'm totally sure on Linux and Mac, but not so sure on Windows :-) |
Should we close this @ccordoba12 ? |
Sure, let's do it. |
The text was updated successfully, but these errors were encountered: