Custom font shown with offset on y-axis on Mac simulator?

I am experiencing a problem with the latest Corona daily build on my iMac (and with all prior builds). I am using a custom font which is positioned/shown incorrectly when using the Mac simulator (around 10px further down the y-axis than it should be). However, on the actual device all is fine (iPhone, iPad) - there is no offset on the y-axis.

Any idea what this could be? I would like the text to be shown at the exact same y-coordinate - regardless of the system I am using (Mac simulator or a real device).

Thanks,
Jens

[import]uid: 101883 topic_id: 33711 reply_id: 333711[/import]

Hello Jens,
This is an unavoidable issue with app development in general (not just Corona), because of the minor differences in how each OS renders fonts. Different “glyphs” and other special characters in a particular font can also contribute to this issue.

If you want 100% guaranteed font positioning on any device, you should use bitmap fonts (fonts that you have converted to images in your graphics application and supplied to Corona as an image, not a text object).

Hopefully this helps somewhat; it’s annoying but the “solution” is to just test, adjust, test, adjust…

Brent [import]uid: 200026 topic_id: 33711 reply_id: 134057[/import]

Thank you Brent. I guess I will have to do some try & error then…

Jens [import]uid: 101883 topic_id: 33711 reply_id: 134147[/import]

Hello Jens,
This is an unavoidable issue with app development in general (not just Corona), because of the minor differences in how each OS renders fonts. Different “glyphs” and other special characters in a particular font can also contribute to this issue.

If you want 100% guaranteed font positioning on any device, you should use bitmap fonts (fonts that you have converted to images in your graphics application and supplied to Corona as an image, not a text object).

Hopefully this helps somewhat; it’s annoying but the “solution” is to just test, adjust, test, adjust…

Brent [import]uid: 200026 topic_id: 33711 reply_id: 134057[/import]

Thank you Brent. I guess I will have to do some try & error then…

Jens [import]uid: 101883 topic_id: 33711 reply_id: 134147[/import]