Forums > Jitter

More than one line with jit.gl.text2d?

July 28, 2008 | 5:17 pm

Hi all,
I have a simple question, but i need to ask.
I’m displaying text using [jit.gl.text2d] and I’m calling files from a folder using the object [text]. The text files are just comments that somebody previously type using [textedit].
By problem is that i can’t find the way to show the text in more that one line. How can I control the numbers of lines that [jit.gl.text2d] displays? i know that it could be really simple, but I missing this step.
Thanks for the help
David


July 28, 2008 | 8:17 pm

You might want to take a look at jit.textfile and jit.fprint. Regardless, you will want to make sure that you are saving your carriage returns. With textedit, you will want to be sure you are either appending carriage returns or outputting the contents as one symbol (output mode attribute set to 1).

If you are still having trouble, post a simple patch.

-Ben


July 28, 2008 | 9:57 pm

Hi,
I was trying to have more lines using jit.textfile but I don’t get it.
Here is part of the patch, I just trying to put the text into the output window. When I have long text I don’t find the way to organize it in a column.
Thanks for all
David

////////////////////////////////////////////////////////

– Pasted Max Patch, click to expand. –

[MOD - reposted with copy compressed]


July 29, 2008 | 12:10 am

For posting patches, check out ‘copy compressed’ in the Edit menu. Try something like this:

– Pasted Max Patch, click to expand. –

July 29, 2008 | 6:58 am

Hi Ben,

It’s perfect for me this example.
Thanks a lot for the help!
David


July 29, 2008 | 7:01 am

Hi Ben,
It’s perfect the example, this is what I’m searching for.
Thanks a lot for the help!
David



Ad.
August 15, 2009 | 6:23 am

It’s pretty weird…
I can not open the max 5 Patch:

clipboard JSON conversion
‘,’ or ‘}’ character expected after value for key ‘linecount’: line=182, char=24, text=’…his isnseveralnlinesnof jitterntext", "linecount" : 5 {‘

Ad.



Ad.
August 17, 2009 | 9:08 am

May someone attach the Ben’s max 5 patch ?
I’ve upgraded my soft but it still doesn’t work.

Thx;

Ad.


August 17, 2009 | 5:00 pm

can you try this version?
i’ve cleared the text object, which i think might’ve caused you the problems.

also, can you post your system info?

– Pasted Max Patch, click to expand. –


Ad.
August 17, 2009 | 6:15 pm

It Does work !!!
Thanks a lot !!

Adrien


October 12, 2010 | 3:43 pm

Hello,
It is regular: text2d needs to receive first a "text somewords" before the matrix works as expected?

– Pasted Max Patch, click to expand. –

October 13, 2010 | 12:13 pm

Hi,
I insist, what is the issue with [jit.gl.text2d].
For example the Recipe 19: Tannenbaum :http://cycling74.com/2006/02/14/jitter-recipes-book-2/
It does not work until you send a "text" message to text2d.

MBP 2.93GHZ 4Go 1067MHz DDR3 9400M+9600MGT
MaxMSPJitter 5.1.5


October 13, 2010 | 4:45 pm

Works with Max4, no satisfying results with Max5. What am missing?


October 13, 2010 | 5:31 pm

Hi Kyred,

Thanks for pointing this out. Its either a bug or a doc error, I’ll figure out which.

-Ben


October 13, 2010 | 6:59 pm

This should be fixed for the next update, thanks!

-Ben



efe
October 13, 2010 | 7:53 pm

i was having the same issue with Recipe 28



efe
October 13, 2010 | 7:59 pm

is there any temporal solution for this problem when using multiple lines of text?, at least until the next update!
thanks!


October 13, 2010 | 8:04 pm

Not sure what you mean. You should be able to use multiple lines of text, just send any ‘text’ message before sending it matrix data.

But maybe I don’t understand your problem. Post a patch?

-Ben


February 1, 2011 | 7:51 pm

can I render a jit.qt.movie to the same instance of jit.pwindow ?

still looking for another way to display subtitles parsed from my srt files.

the main target: using more than one subtitle at a time (one on each line)


Viewing 19 posts - 1 through 19 (of 19 total)