typing tool for g.text2d ?

mr.l's icon

Hey,

I am trying to type in Text into video using jit.gl.text2d and was wondering, if there is a way, that gl recognizes automatically, when the text is getting to big to fit into the window and then changes textsize and/or puts a line break? Basically a text-typing tool for gl...
(How do I do a linebreak in gl.text2d anyway? I think I did this (line breaks) a few years ago, just forgot how to do it....)

thanx, rené

Rob Ramirez's icon

you have to handle it yourself. utilizing jit.textfile, jit.str.* or simply jit.matrix can help with managing lines of text for jit.gl.text*d