-
Notifications
You must be signed in to change notification settings - Fork 134
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
Macbook pro retina display fonts are pixelated (HiDPI) #259
Comments
I didn't see anything in those articles about how to get the "native" scaling from OSX. I found the following on blog.qt.io
|
I'm wondering if you can edit the plist in your installation and see how it looks. |
Speaking for myself only. I have no clue how to enable the builds for hidpmi. I have no clue what versions of anything we claim to support. I would But. Mostly. It's that I don't have such a display. Until I do, the lack of Mik
|
I poked around which Qt version with 2.3.0 is shipped:
As stated by Qt website, since 5.6 the HiDPI is supported. |
@rocketman768 I have tried to update the plist but no difference. |
I would like to see this working. Looks crappy on my work mac. I can poke around and see if there's a way to enable highres mode. |
If there needs some testing to be done, just poke here. |
I have played around with this some, and it should work on Qt 5.6 and later. (I tested on 5.8, but the blog post above indicates it should work starting with 5.6.) One line of code is needed to activate HiDPI awareness. In main() in main.cpp, add I will note that there's a few UI issues that don't scale nicely in HiDPI mode (even though it's inifinitely better than nothing). In particular, the text on the RangedSliders gets cut off and probably should be changed to 12 pt Arial Bold, not 14 pt Arial Black. The biggest change though is needing Qt 5.6+. TBH, I have no idea what the decision-making process is or what it involves to upgrade the packaged version of Qt. |
I've made some changes to help with this problem over in https://github.com/jawsdaws/brewtarget/tree/HiDPI Activating HiDPI awareness is unreliable for me, so I've been using the DPI number to calculate the size of things that need changes. I only have Linux to test on. It would be awesome if anyone is willing and able to test that branchon Mac or Windows. :-) |
There is still some more work to do on this, but hopefully #502 has made things a bit better. (I have a high DPI display on my Linux laptop, but I hope the fixes that work there also benefit Mac users with highdpi...) |
fixed in PR #502 , closing |
I know Qt supports HiDPI and why are we not building releases with HiDPI (since 5.6) ?
The font looks awefull on Macbook pro retina, probably also on Ubuntu powered Dell laptop with HiDPI.
See:
http://doc.qt.io/qt-5/highdpi.html
https://wiki.archlinux.org/index.php/HiDPI#Qt_5
The text was updated successfully, but these errors were encountered: