Huge problem with font positioning between simulator and device!

When you fix this error? [import]uid: 138593 topic_id: 1192 reply_id: 145184[/import]

Sorry for the slight OT-ness, but what is wrong with:

_G.isSimulator = ( “simulator” == system.getInfo( “environment” ) )
[import]uid: 46639 topic_id: 1192 reply_id: 145201[/import]

When you fix this error? [import]uid: 138593 topic_id: 1192 reply_id: 145184[/import]

Sorry for the slight OT-ness, but what is wrong with:

_G.isSimulator = ( “simulator” == system.getInfo( “environment” ) )
[import]uid: 46639 topic_id: 1192 reply_id: 145201[/import]

Welp, more than three years after this topic was posted, I’m running into the same issue, and it’s a bit frustrating. I’ve been working around it up to this point by having my text positioning appear wrong when running in the Simulator (and thus right on the device), but it defeats the purpose of the Simulator, and the trial-and-error nature of the positioning makes it kind of a pain.

Is there any word on this? Three+ years is a long time to fix a bug of this magnitude.

Thanks!
 

  • David

I made a workaround. It requires some leg work but you get correct placement when done. http://developer.coronalabs.com/code/perfect-vertical-text-alignment-across-devices

@jonjonsson: Thanks for the link! I actually saw your post about it as I was searching for a solution. Looks like it could be helpful.

I’m only deploying to iPad, so keeping this consistent across devices is not an issue. But this really should be fixed. Is the bug report still open? Does a new one need to be filed?

I think this issue and textField gotchas really increases development time. Corona would really benefit from addressing those. I have a feeling it is far from straight forward though.

Agreed, Jon. And I think that three years is plenty of time. It must just be a low priority, but hopefully threads like this one will help change that.

Welp, more than three years after this topic was posted, I’m running into the same issue, and it’s a bit frustrating. I’ve been working around it up to this point by having my text positioning appear wrong when running in the Simulator (and thus right on the device), but it defeats the purpose of the Simulator, and the trial-and-error nature of the positioning makes it kind of a pain.

Is there any word on this? Three+ years is a long time to fix a bug of this magnitude.

Thanks!
 

  • David

I made a workaround. It requires some leg work but you get correct placement when done. http://developer.coronalabs.com/code/perfect-vertical-text-alignment-across-devices

@jonjonsson: Thanks for the link! I actually saw your post about it as I was searching for a solution. Looks like it could be helpful.

I’m only deploying to iPad, so keeping this consistent across devices is not an issue. But this really should be fixed. Is the bug report still open? Does a new one need to be filed?

I think this issue and textField gotchas really increases development time. Corona would really benefit from addressing those. I have a feeling it is far from straight forward though.

Agreed, Jon. And I think that three years is plenty of time. It must just be a low priority, but hopefully threads like this one will help change that.