-
Notifications
You must be signed in to change notification settings - Fork 123
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
CapabilitiesGetScreenDPI on Mac retina display concern #704
Comments
Also I have suggestions from developers for how we can support Retina Mac display:
Do we need this Retina display support in NME? P.S. in case of SDL it can be missing flag: https://stackoverflow.com/questions/17918921/retina-display-support-with-sdl |
Yes, the current settings use a lower-res backbuffer on mac SDL, but the dpi should get reported relative to this backbuffer and so the font sizes can be made correct. |
I am using NME without high dpi flag and my app scaled using DPI. Users complained font size small other time that resolution to low. |
I think both can be supported. I have been using NME on mac with the OS background scaling and I use nme.ui.Scale.getFontScale(); and things generally seem good. But I will add the Hires as an option (or maybe default) like it is on IOS because it makes me a bit sad to have unused resolution. There may be some performance implications - bit not too sure if it will be noticeable. |
Thanks! User who asked for high resolution support, promise me to provide complete testing for new app version, because I don’t have this type of Mac. Hope it will work well and performance not downgrade to much. |
So I have added an nmml flag, like |
Checked on my old Mac(highDpi="true"). Everything works as before with this. Going to send app for testing on Retina display when its ready. Wondering if 3D rendering going to work properly. Will see how user respond. |
So I have response from user after testing high res DPI feature: "This version is better, but still has a few problems.
Without this, the app will only open in Low Resolution mode. After adding this and more: screenDPI = 221.00000331909 Everything else seams works correctly 2D and 3D app graphics renders correctly. |
I am not sure if this is an issue or something else because I don’t have Mac with Retina display and can’t check it, but periodically I have complains about screen DPI scale on this type of Mac only. Sizing of my app everywhere looks the same except Retina Mac. Could be issue with CapabilitiesGetScreenDPI method here. It would be great if someone can check this.
The text was updated successfully, but these errors were encountered: