newRetinaText problem

Hi guys,

I’m currently working on a Universal build and I have problem with the newRetinaText alignement.

On iPhone3GS the text is in the right position, but on the iPhone4 and iPad the text is displayed at different positions…how I can fix this in order to have the text aligned on each device.

Keep in mind that I’m using the newRetinaText :slight_smile:

Thank you! [import]uid: 89239 topic_id: 17312 reply_id: 317312[/import]

Is this the newly added display.newRetinaText()?

If so, please create a very small test project demonstrating the problem, and submit it along with a description (or a link to this thread) via this form:

http://developer.anscamobile.com/content/bug-submission

That way it’s sure to be addressed, and not forgotten (forum threads tend to get buried very, very deep after a short period of time). [import]uid: 52430 topic_id: 17312 reply_id: 65491[/import]

I’ve had the same issues as well issues as well - easily confirmable in simulator and reported as bug 8944 and at forums at
http://developer.anscamobile.com/forum/2011/10/31/displaynewretinatext-landscape-mode-only-not-supporting [import]uid: 32462 topic_id: 17312 reply_id: 65584[/import]

+1 [import]uid: 14018 topic_id: 17312 reply_id: 65623[/import]

@jonathanbeebe this is exactly what Im talking about. Is this a bug?

Maybe there is a workaround for this problem…? [import]uid: 89239 topic_id: 17312 reply_id: 65629[/import]

I was browsing other webpages when I stumbled here. Thank heaven I found this site! I also have similar concern with office83. Why is it that there is a discrepancy when I utilize newretinal text in iphone3 and iphone4? I expended too much including my installment loan just to purchase the phone. I hope someone could really point out what is the main problem. Thanks a lot! [import]uid: 113224 topic_id: 17312 reply_id: 75561[/import]

same x,y sample in all devices

local lblObj = display.newRetinaText("Lorem Ipsum" , 0, 0, 232, 64, font, 13)  
lblObj:setTextColor(0)  
localGroup:insert(lblObj);   
lblObj.x = 162  
lblObj.y = 116  
lblObj:setReferencePoint ( display.TopLeftReference )  

display group sample:

local dialog = display.newRetinaText("Lorem Ipsum" , 0, 0, 232, 80, font, 15)  
dialog:setTextColor(0)  
--dialog:setReferencePoint ( display.TopLeftReference )  
dialog.x = 100  
dialog.y = 100  
textObjGroup:insert( dialog )  
textObjGroup.x = 206  
textObjGroup.y = 60  
localGroup:insert( textObjGroup )  
textObjGroup:setReferencePoint ( display.TopLeftReference )  

read my last post:

http://developer.anscamobile.com/forum/2011/11/24/retina-text-different-y-coordinates#comment-80063 [import]uid: 96683 topic_id: 17312 reply_id: 80064[/import]