newText display objects ignore spaces

Well, I use a certain font that has to have a space in the end of the text so for example if I want to display a text with string “Start Game” I will have to do it "Start Game ", that worked well in build CoronaSDK-2016.3002 but after I updated to CoronaSDK-2017.3068 the simulator ignores the space at the end of the string that means that even if the string is "Start Game " the simulator considers it “Start Game”, the problem gladly doesn’t occur in devices, but because the position of the text is relative to how many characters are present in the string, this problem misplace the real text position in the simulator which makes it hard for me. :frowning:

Why do you need a space at the end of the string?

If I don’t put a space it just kind of breaks the last letter, I don’t know why but that’s the font problem, I figured that it can be fixed by adding a space but the simulator ignores the space if there is no characters after it.

I’ve had the same issue before with certain fonts.  Use the latest Corona as there were font fixes put in recently.

Well, I have the latest build (Corona-2017.3103), should I downgrade ? 

We had a bug that on Windows (Simulator and Desktop), the last letter would get cut off. This was fixed in 3101.

If you’re having a specific problem in 3101 or later, we are going to need a small app that demos the problem. It should be a complete project, main.lua, config.lua, build.settings and any assets put into a .zip file. Email support AT coronalabs.com and attach the project to the email. In the email give **detailed** information including what platform are you seeing this on (Windows, Mac? Simulator version where the problem happens, where it doesn’t? Steps to reproduce the problem, etc.

Thanks

Rob

I have reported the bug, I forgot to link the bug to this topic, also how to check the current status of the bug report ?

I don’t see anything in our tracking system. Did you email it to support AT corornalabs.com or did you use the Report a bug form?

You need to email it. We are working to get that form moved to our new system.

Or Try this form:  https://portal.coronalabs.com/bug-submission

Rob

Done.

Why do you need a space at the end of the string?

If I don’t put a space it just kind of breaks the last letter, I don’t know why but that’s the font problem, I figured that it can be fixed by adding a space but the simulator ignores the space if there is no characters after it.

I’ve had the same issue before with certain fonts.  Use the latest Corona as there were font fixes put in recently.

Well, I have the latest build (Corona-2017.3103), should I downgrade ? 

We had a bug that on Windows (Simulator and Desktop), the last letter would get cut off. This was fixed in 3101.

If you’re having a specific problem in 3101 or later, we are going to need a small app that demos the problem. It should be a complete project, main.lua, config.lua, build.settings and any assets put into a .zip file. Email support AT coronalabs.com and attach the project to the email. In the email give **detailed** information including what platform are you seeing this on (Windows, Mac? Simulator version where the problem happens, where it doesn’t? Steps to reproduce the problem, etc.

Thanks

Rob

I have reported the bug, I forgot to link the bug to this topic, also how to check the current status of the bug report ?

I don’t see anything in our tracking system. Did you email it to support AT corornalabs.com or did you use the Report a bug form?

You need to email it. We are working to get that form moved to our new system.

Or Try this form:  https://portal.coronalabs.com/bug-submission

Rob

Done.