I have an iOS app where I need to support retina graphics (as all iOS/Android apps do).
If I set retinaEnable to false, then everything is correctly displayed on the device in terms of size, proportion, ratios, etc. However, fonts, images, etc are all pixelated since the GLView uses the non-retina size.
To fix the pixelation issues, I can use the enableRetina setting. Doing so make the fonts and images crips, but they’re scaled down to account for full retina resolution and the non-pixel dimensions I use become incorrect.
For the longest time, I’ve been using this addon https://github.com/armadillu/ofxEasyRetina for enabling retina graphics without having to go in and manually change every image and font size. However, this addon is going on 4 years old and I’m wondering if there is something in OF core now that would allow for this.
Personally, I’d like OF to behave like iOS or Android doesn’t natively and pixel dimensions not have to be aware of retina or not; this should be internal to OF just like it is to the native OS, right? When developing native iOS/Android apps, the app doesn’t need to know whether it’s retina or not or put a bunch of checks in place for each retina scale. Pixel dimensions are independent of full retina resolution. Is there something like this in OF now? What are the best practices as this seems like a very common issue now.