Want a quick fix that will prevent text from being blurry on “retina” displays of any kind? Simply paste the following code at the top of your main.lua file (or put it in an external file and require-it in):
What the above code does is override the built-in display.newText() function to ensure that text is displayed cleanly with no blurring on retina-enabled devices. It has no effect on older, non-retina display devices.
The best part is, once you put the above code in your project, you can just keep using display.newText() as you always did!
Talk about a quick fix 🙂