unicode persian font, 3D text

hi
i am using the trial version of unity and want to use it for a persian MMO.
i want to type in farsi (persian) characters in textbox fields in unity editor for 3D text mesh or … but it shows me nothing or sometimes a dot.
i did not change the font of anything.
i used scripts to change the text to farsi but did not work.
what can i do to write farsi text in unity’s editor and use it in scripts and GUI?

did anyone used japanese, chinese or arabic or russian or any other unicode language with unity

i am using windows vista.

Unity only supports ASCII for GUI purposes.

No, it supports Unicode. The problem is this:

You need a font with Farsi characters, and you have to import it as Unicode rather than ASCII. And scripts with text in them have to be saved as UTF-8 of course.

–Eric

Wow, I completely didn’t know that. Cool.

The downside is that fonts have to be pre-rendered as textures rather than on the fly, and considering that many graphics cards have a limit of 2048x2048 per texture, that means that it’s difficult to support fonts with large character sets (like Japanese), because you’re stuck with quite small point sizes in order to fit everything in that 2048x2048 space.

–Eric

ok but if i import a farsi font then how can i type farsi in unity editor in GUI?
because i think unity GUI allways use a pre defined font.

thank you for your answer erric

سلام اشکان جان
چرا از فارسی نویس مریم استفاده نمی کنی ها؟

Presumably emadgh already answered, but just in case: It uses whatever font you tell it to use. It wouldn’t be very useful if you were always stuck with one font only.

–Eric

hi
i want to type in unity interface in farsi and don’t want to stuck with one font.

@emad
thank you
use english language here and let other users have this problem easily find the answer with searching.

did you used maryam software to do this.

we found a solution and we made a class library with mono for it. it’s not possible to write text in arabic or farsi or any other right to left complex script language in unity

for more info and getting the class
email me at ashkan_gc@yahoo.com