Well I just ran into a strange bug… which may be hard to reproduce.
I added “upsidedown” mode to my app and some simple animations for rendered text.
s=display.getCurrentStage()
s:setReferencePoint(display.CenterReferencePoint)
transition.to(s, {time=300, rotation=180})
The text gets scaled “up” to 1.0 in enterFrame() by something like the following
if scale < 1.0 then
scale = scale + 0.25
if scale > 1.0 then
scale = 1.0
end
txt:setReferencePoint(display.CenterReferencePoint)
txt.xScale=scale
txt.yScale=scale
end
The Text is now rendered with strange artifacs on the right side… very hard to describe and it is only visible on the devices (iPhone 3GS / iPod Touch 3G / iPad).
I saw it at first only on the iPad because of its zoom. It looks like as if you see 1 pixel row of garbage … and it seems to appear where the “bounding box” of the rendered letter ends.
This also only happens for bigger font sizes… at least I can’t see it on the smaller fonts.
Again: This only happens when the rotation is set to 180 in the stage.
I am to tired to write a small test program but may tomorrow…
P.S.: It does not happen when I use the native support by a build.settings file [import]uid: 6928 topic_id: 1246 reply_id: 301246[/import]
had some fun with it already…