2012.760 beebegames newRetinaText bug

It strechs font height anormally. also distorts width of text sometimes.

screenshots for differences:

bug in 760

build 751

lblName = newRetinaText( "Total Loses" , 30, lblNameY+4, \_G.fontNames[1], 14, 0, 0, 0, "left", scrollVars["scrollView"..type] ) [import]uid: 96683 topic_id: 22842 reply_id: 322842[/import]

width bug:

build 751
[import]uid: 96683 topic_id: 22842 reply_id: 91261[/import]

@iPlayalot: Thanks very much for using the BeebeGames class but currently it is unsupported due to the fact that it is extremely outdated (it’s been about a year since the last update).

However, for you problem an easy fix is to simply use the built-in display.newRetinaText() instead of the (outdated) retina text solution that is in the BeebeGames class. [import]uid: 52430 topic_id: 22842 reply_id: 91397[/import]

Actually I’m also having a similar problem (stretched text) with display.newRetinaText on 2012.760… but it looks like the stretching is happening only for text inside TableView rows.

And by the way, also the TableViews are not working perfectly in the 760 daily build (the renderThres parameter doesn’t seem to be working and I can see the render/de-render on screen). [import]uid: 9158 topic_id: 22842 reply_id: 91401[/import]

The other day we pushed in some new graphics performance improvements, as well as a revised Sprite API and it broke masked text and shapes as a side-effect (which could be why you’re having issues in daily build 760).

In the daily build that comes AFTER 760, the issues should be fixed. [import]uid: 52430 topic_id: 22842 reply_id: 91406[/import]

Thanks Jonathan, yes the text works ok with 758, so it’s related to the latest changes… ok then I’ll wait for the next daily build before submitting any bug reports. [import]uid: 9158 topic_id: 22842 reply_id: 91410[/import]

Daily build 2012.761 now live:
http://developer.anscamobile.com/release/2012/761

It should work in that build… [import]uid: 52430 topic_id: 22842 reply_id: 91439[/import]

Yes, with 2012.761 the text is now rendered correctly.

I’m still having the problem with the TableView… compared to 758 I can see the last visible row rendering/de-rendering… I’ll do some tests to see where’s exactly the problem in the next days.
Keep up the good work guys! [import]uid: 9158 topic_id: 22842 reply_id: 91480[/import]

Regarding retina text:

display.newText() has been modified to handle “retina text” automatically, and therefore display.newRetinaText() has been deprecated since it is no longer needed.

The changes will be reflected in the next daily build (the one posted *after* 2012.770).
[import]uid: 52430 topic_id: 22842 reply_id: 94923[/import]