Closed halinfinite closed 1 month ago
I don't think OFCore is yet ready to use displays in high res. things will appear scaled down. it would be great if plist booleans could be set in xcconfig file format like this
INFOPLIST_KEY_NSHighResolutionCapable = NO
but apple didn't help with setting booleans there. or variables in XCode plist.
Yeah, agree. @dimitre
@halinfinite - check out the discussion in the issue here: #4789
There is a lot to do to get graphics working correctly in Retina mode ( and to handle moving windows from Retina to non-Retina screens and readjusting ).
Unfortunately it is not as simple as just adding the bool to the plist.
Hello @halinfinite using the latest master now you can enable retina for your project by creating an App.xcconfig in your project folder with the content
HIGH_RESOLUTION_CAPABLE = YES
this setting will be kept even when regenerating project
That's amazing news @dimitre I am glad this is solved. Thanks for the support and all the improvements to openFrameworks
Description
This pull request addresses the issue of high-DPI support on macOS for openFrameworks applications. By default, the
NSHighResolutionCapable
key is not set totrue
in theInfo.plist
file, causing applications to appear blurry on Retina displays.Changes Made
Info.plist
template in the project generator to include theNSHighResolutionCapable
key set totrue
.Testing
Info.plist
file includes theNSHighResolutionCapable
key set totrue
.This fix ensures that all new projects will support high-DPI displays on macOS by default, improving the user experience.