Textedit OR Textfile object with a non-engligh language

Jan 25, 2011 at 1:50pm

Textedit OR Textfile object with a non-engligh language

Hi,

I am using a modified patch that puts subtitles onto a video. I want to put Korean letters into the subtitles, but that doesn’t seem to register into Max. Is there a workaround to this? I don’t know processor (yet) and have a beginners knowledge with Max and Jitter.

Thanks a lot!

#54584
Jan 25, 2011 at 2:40pm

안녕하세요,

Korean should be fine as long as you use a font which is compatible with the korea language, like AppleGothic.

– Pasted Max Patch, click to expand. –
#196579
Jan 25, 2011 at 7:01pm

I use korean in my patches all the time no problem.

You have to hit get info and change the font to a Korean one.

#196580
Jan 25, 2011 at 7:02pm

Err… should have scrolled down Emmanel has you covered.

#196581
Jan 26, 2011 at 10:57pm

Hi, im having a similar problem displaying other languages such as japanese or thai using a plain .txt with the “text object”. i ve tried this and works fine with textedit and many languages too but i had no luck opening a .txt. am i missing something??

thank you

#196582
Jan 27, 2011 at 12:54am

Have a look at Unicode_Tips_for_Japanese.maxpat in the examples/interface folder. There’s tons of information in Japanese that I don’t understand ;-)

#196583
Jan 27, 2011 at 11:23am

Japanese isn’t that hard, EJ. For instance, the text

“日本語を使用する場合は、オブジェクト・ボックスを選択し、日本語のフォントを指定して、日本語を入力します。”

means “To use a Unicode font like Japanese, select an object box, choose a Japanese font, and type a Japanese text into it.”

I didn’t even need Google Translate for that one;-)

@Uva: the text object works just fine, but you *must* set the font to something that can display Japanese characters.

#196584
Jan 28, 2011 at 10:09am

wow thanks Emmanuel. that worked!

#196585
Jan 31, 2011 at 12:17pm

@emmanuel thanks for your quick reply and yes i did look at that example before posting (there was an old post about it ;-) and solved it with arialuni.ttf so i can actually view chinese and korean. Maybe i was not clear, sorry but my issue was the text object that wouldn’t show the .txt when open.

@Peter thanks to you too, yes you right japanese etc actually shows up, the .txt where very long. However i still didnt manage to show Thai or Hindi (even with the right font) with the text object. Now im sending the lines of the .txt from ‘text object’ to ‘text button’ and Thai or Hindi show up with out problem.

thank you again

#196586
Jan 31, 2011 at 11:25pm

@ej: I suspect part of the problem is that people nowadays are a bit “spoiled” in the sense that a lot of apps (at least on Mac OS) will automatically switch font family when the character set used moves from Roman to Japanese to Han to Zhongwen to Hindi…

I’m sort of used to having to specify the font I want, and it seems somewhat more Max-like to leave the decision to the user (who just might possibly want to have strings of empty boxes—possibly, but not very probably). But as automatic font selection becomes more and more common, there will probably be more and more people stumbling over the font selection issue in Max. Any chance of implementing automatic font switching in Max some day?

Reading this thread in Firefox, all the font changes just happen.

#196587

You must be logged in to reply to this topic.