Problem with jit.gl.text2d and jit.textfile..

Ptyx's icon

Hi,
I'm novice in Jitter, specially interested to manipulate text with jit.gl objects.
But I have a problem, maybe a beginner problem, with jit.gl.text2d and jit.textfile objects.
It seems to be impossible to display some words, some text which is in the jit.textfile connected to jit.gl.text2d just banging this object : the only solution I found is to send before a simple message, like [text a], in the jit.gl.text2d object, as if it would be necessary to initialyse it. After that, the text within jit.textfile can be displayed with a bang.
Is this normal ? Have I missed something in the functionning of these objects ?
I found a post in this forum, with a patch which can illustrate the problem :

Max Patch
Copy patch and select New From Clipboard in Max.

Thanks for any explanation..

Rob Ramirez's icon

it's not clear from the patch what the problem is? can you perhaps add some comments to the patch with specific steps to reproduce? thanks.

Ptyx's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Thanks for your reply.
Here is the patch (more simple), with comments. I hope it's more clear.

Thanks again

Rob Ramirez's icon

ahh yes. i believe i've noticed that before, and my solution was to do exactly as you've done (initialize first with message box, followed immediately by the matrix).

thanks for the report, i'll try to get to the bottom of this.