display.newtext length in android phone

Hi Everyone.

i just want ask all of u guy on display.newText() length of text. i saw when view on android phone, if it length more than 4000 it will hide just show blank. so you know why it hide?  but view in iOS it’s fine just problem only on Android phone.

Any comment on it. 

Corona SDK is based on OpenGL.  For text to work with your app, we have to take your text and use the operating system’s font rendering to create an image.  That image is then used to put your text on the screen.  Therefore, if your text exceeds the maximum texture size for your device, you just get a white block.  Different devices have different maximum texture sizes.

We have a tutorial that explains all of this and shows you how to overcome the problem:

http://coronalabs.com/blog/2014/06/17/tutorial-working-with-large-blocks-of-text/

Rob

Corona SDK is based on OpenGL.  For text to work with your app, we have to take your text and use the operating system’s font rendering to create an image.  That image is then used to put your text on the screen.  Therefore, if your text exceeds the maximum texture size for your device, you just get a white block.  Different devices have different maximum texture sizes.

We have a tutorial that explains all of this and shows you how to overcome the problem:

http://coronalabs.com/blog/2014/06/17/tutorial-working-with-large-blocks-of-text/

Rob