On Sat, 2010-04-17 at 18:08 +0800, jun lv wrote: > Dear ALL, > > Anybody do some jobs on Arabic language display with DirectFB? > I Try to display the Arabic strings in my code,but it display > error,not like the strings in excel. > I Convert the string in excel to Unicode and used in code. > I think the reason is that I send the string from left to right. > > How to Display the Arabic Language and Russian Language with > DirectFB???? > > Need your kindly help! > > > Thanks very much.
You need to pass the string in UTF-8 encoding. For Russian you should get reasonable results then by just using the DrawString method. Arabic is more complex though and you won't get satisfactory results from the simple text rendering that comes with DirectFB. I suggest that you use Pango for your text layout then, see http://www.pango.org/ Next time please ask such questions on the directfb-users list. Sven _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev