[Resolved] Cannot render rotated text object

Hi

Since a couple of Corona versions back I’ve discovered that rotated text will not render.

This works:

local myText = display.newText("Hello World!", 0, 0, native.systemFont, 16)  

But this renders nothing:

local myText = display.newText("Hello World!", 0, 0, native.systemFont, 16)  
myText.rotation=1  

I discovered this while updating an older app - and at first it had to do with the reference point getting messed up and the object falling off screen (the text was in a group), but after some testing it is clear that it applies to any and every text.

I cannot get the text to render neither in the simulator or on a device.

To be clear: this has worked in earlier versions of the Corona Simulator, but seems to be broken as of late. I tested it with build 2011.565 today, and it is still broken.

I am on a Mac by the way. [import]uid: 13935 topic_id: 12293 reply_id: 312293[/import]

I ran into the same issue, and I found that if you set antialias=true in your config.lua file, text will disappear as soon as it’s rotated. This is on version 2011.591 [import]uid: 63524 topic_id: 12293 reply_id: 52326[/import]

Thanks for the report guys.

I will look into it and pass it onto the team :slight_smile: [import]uid: 84637 topic_id: 12293 reply_id: 52358[/import]

I fought with this one for a while and figured out the issue with antialias as well. Hope this gets fixed soon! [import]uid: 2927 topic_id: 12293 reply_id: 53249[/import]

We’ve just hit this issue as well. It works when rotated at any 90 degree angle, e.g. 0, 90, 180, -90 but any other angle causes the text to disappear.

Tested in 2011.608 [import]uid: 35618 topic_id: 12293 reply_id: 53858[/import]

Same issue on 2012.784 build )= [import]uid: 131398 topic_id: 12293 reply_id: 101848[/import]

Sakharov, PC or Mac? I just tested this in 773 and it works OK, am downloading 784 to test now. [import]uid: 52491 topic_id: 12293 reply_id: 102025[/import]

Mac. As jeremybell says, it works only when text is rotated at right angles only. [import]uid: 131398 topic_id: 12293 reply_id: 102038[/import]

I just tested this on Mac in build 784 and it works fine provided antialias is set to false.

Currently we’re advising people not to use antialias as it has some issues so check your config.lua file, if it’s set to true make it false and the text should rotate fine. [import]uid: 52491 topic_id: 12293 reply_id: 102089[/import]

Yes, without antialiasing it works fine. [import]uid: 131398 topic_id: 12293 reply_id: 102096[/import]