Forums > Jitter

Accent & breakline problem

November 19, 2009 | 12:22 pm

Hi,
I’m using jit.gl.text3D objet, and i want to making subtitles in french over video.
But, I’ve some trouble with accent in my patch with textedit object.

I’ve tried lot of things, but found no solution.

And, in second time, i want to save the content of textedit objet in a xml file. But i ve trouble with breakline : the text is saved as one line evenif there is multiple line in my textedit. A solution ?

So maybe, i’m not using the good objet for my aim. can you give me an advise ?

(as you can see, my english…, but maybe the patch will be more comprehensive)

Thank you !

– Pasted Max Patch, click to expand. –

November 20, 2009 | 11:24 am

Ok, thanks you, its help me to find where is the matter.

Resume :
I’ve two probleme : accent & breakline.
With your solution, I can have accent, but, no breakline. (enter returns me a square on screen)

To have breakline, i should use textedit> route text > jit.jtr.fromsymbol> jit.texfile > jit.matrix. But in this way, i cannot have the accent. I’ve tried different things, search on forum, but dont find a solution with this 2 data.

About the xml, yes im using a pattrstorage.
It takes the value of the field but no textformat. So it doesnt record the breaklines, just text.
My question : is there a symbol that i can use in the textedit for breakline which is interpret like this in xml ?

Or can i filter the textedit ?
Like in text edit :
"faehfiae # fvuohou"
And, on screen :
"faehfiae
fvuohou"
So, a filter witch interpret #symbol as a breakline.
I think it could be a good solution, cause i dont have to touch the xml files system. And also, maybe the accent will be back !

If you have some ideas, you’re welcome !


November 26, 2009 | 7:24 pm

Thanks lots!
But…
I cant open it. Cause of the new forum… I cannot have the link.
Can you past the patch in the forum ?

Thanks, again.


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