PDA

View Full Version : Hebrew/Arabic characters support



flashguru
08-27-2008, 12:07 AM
Seth:
Your game creation system is nothing but stunning! One of the best!

I was so excited about it that I made a decision to start learning it but only to find out that unicode support is not there
http://www.rtsoft.com/forums/showthread.php?t=1527&highlight=unicode

However, in your post about unicode support, you mentioned something about bitmap fonts. Can I use bitmap fonts easily with Novashell without compiling C++ code? I am new to this; so any links and articles to read would be helpful!

Thanks

sphair
08-27-2008, 11:00 AM
Since NS uses ClanLib, you might find some interesting documentation at

http://clanlib.org/docs/clanlib-0.8.0/Overview/font_overview-1.html
http://clanlib.org/docs/clanlib-0.8.0/Overview/font_resources.html

Seth
08-27-2008, 11:24 AM
Hi flashguru, as sphair said I rely on Clanlib 0.8 to handle the text drawing and it doesn't support unicode.. we may update the text rendering/GUI to Clanlib 0.9 someday so it could though.

But then we're hit with another problem - Lua doesn't support unicode either! This could be added with a bit of pain..

But: I'm not sure about the Arabic character set, if it is less than a few hundred characters you need, it IS possible to substitute characters/symbols with any graphic you want and display them that way. For instance, that's a trick I use to include smileys and the like into character sets.

Bitmap fonts are used for all rendering, you can modify the bmps/xmls to anything you want without recompiling.

But if it's like Japanese and you need thousands.. uh.. !! Tricky.