Dynamic Text Resolution

As an analogue to Dynamic Image Resolution can we have the same for text?

Viewing the DynamicImageResolution demo on an iPad the text looks horrible because it is being scaled up. Can’t the font size be dynamically scaled instead?

I know there is a work around by using beebegames class BeebeGames newRetinaText() function
http://developer.anscamobile.com/code/beebegames-class
but it feels like it should be part of the sdk.

This issue is also mentioned here in the forums
Hi-Resolution (Retina) Text
http://developer.anscamobile.com/forum/2010/12/17/hi-resolution-retina-text

Thanks [import]uid: 27242 topic_id: 6224 reply_id: 306224[/import]

+1 :wink: [import]uid: 9158 topic_id: 6224 reply_id: 21378[/import]

+1

I’m really hoping retina text support for all/any text operations, basically *ANY* text drawn on the screen (for *ANY* UI control or otherwise) will be part of the Corona core functionality some point very soon.

You are part of a growing number of people requesting this, if only we have some form of voting system!

I’m pretty sure I’ve pestered Carlos enough now and it will be coming soon. If he makes good on his comment about the new UI it might even be with us today/tomorrow.

For that matter I would also like to see native support for retina displays for all the new UI widgets text AND images.

Fingers crossed! Ansca will deliver… [import]uid: 9371 topic_id: 6224 reply_id: 21371[/import]

+1 [import]uid: 13859 topic_id: 6224 reply_id: 21432[/import]

Yes, this feature should be fundamental in Corona. [import]uid: 13381 topic_id: 6224 reply_id: 21972[/import]

In case you didn’t hear about it, Crawl Space made a nice “plug-in” that replaces/overrides some of the functions in Corona, one of which is supporting Retina text.

http://www.crawlspacegames.com/crawl-space-corona-sdk-library/

Nice stuff. I particularly like the audio crossfade for music. [import]uid: 6084 topic_id: 6224 reply_id: 22020[/import]

+1 [import]uid: 67150 topic_id: 6224 reply_id: 41336[/import]

Here’s a quick patch to the display.newText() function:

http://blog.anscamobile.com/2011/07/tip-say-goodbye-to-blurry-text-for-good/

It works very similar to the crawlspace patch, however, on older non-retina devices, you actually want to handle those differently, because you don’t want to use double the memory for text objects if you don’t have to.

The function above will first make sure you’re on a retina display enabled device, and then it will figure out what to do from there. If you’re on an older device, the display.newText() does the same thing it normally would (without taking up the extra memory it takes to do double-size text and scaling it down). [import]uid: 52430 topic_id: 6224 reply_id: 43347[/import]

Maybe you got LulzSec’ed because all I get is a 404 message on that link. :wink: [import]uid: 6084 topic_id: 6224 reply_id: 43374[/import]