Texts are broken on Android

I have such a problem on android. Texts bunch up in random text fields.
openfl 8.9.6
lime 7.7.0

It happens randomly in different text fields at different times on different devices.
Changing the font doesn’t help. Latin or Cyrillic does not matter.

After a couple of days of research, I seem to figure out the problem myself.
The problem seems to be as follows.

If once any of the text fields was scaled to 0, then the symbols used in this text could have 0 width after that. Therefore, symbols stuck together in different textfields in the future.

It may not be a good idea to scale text fields to 0, but the creators of openfl/lime should fix this bug. This is absolutely inappropriate and opaque behavior.

1 Like

Thank you for finding this. It definitely makes it easier to track down what is going on :slight_smile:

Could you provide some steps to reproduce so we can fix it? It’s a little unclear. I tried to my best understand of the information already provided.

In the future, try to make a detailed issue report on github, including steps to reproduce. This would help us a great deal in our efforts to make openfl better :smiley: . Thanks!