Text Offset when building

Hi…

In the simulator, all text appears fine and positioned correctly… When I build for Xcode simulator or device, the text shifts a few pixels and isn’t positioned correctly anymore…

Is there any specific reason for this?

thanks :slight_smile: [import]uid: 82552 topic_id: 14751 reply_id: 314751[/import]

I noticed that too for Windows/Android. I thought that’s because I use OTF font on device and it’s TTF version in the simulator (OTF fonts are not supported by the simulator, unfortunately). Interesting…

Could be because of font rendering differences between various platforms.

The workaround I use:
[lua]isDevice = system.getInfo(“environment”) == “device”

fontObject.y = isDevice and -2 or 0 – these are just example offset numbers[/lua]
But surely would be nice to have this fixed, if that’s possible. [import]uid: 52103 topic_id: 14751 reply_id: 54591[/import]

I will ask the team about this [import]uid: 84637 topic_id: 14751 reply_id: 54614[/import]