I haven’t noticed a difference between devices, but I am struggling with a specific font that’s about 3 pixels different from simulator to device. It’s hard to get things just right when, in your development, it has to look wrong to be correct on the device.
I ended up using a global variable and this little chunk of code in main.lua:
[lua]
if system.getInfo(“environment”) == “simulator” then simulator = true end
simYFudge = 3
if simulator then
simYFudge = 0
end
[/lua]
Then whenever I set the Y value for the text I always add that fudge factor:
[lua]
myMessage.y = 20 + simYFudge
[/lua]
For me that turned out to be the fastest/easiest solution.
Jay