> How to Display the Arabic Language and Russian Language with DirectFB????
I suppose you should use DrawGlyph() in cycle instead DrawString().To type Cyrillic text (converted to UNICODE) I use such simple solution: int x, y;// start position const short *us; // unicode string int len; // length of the string if necessary int adv; for (; *us && len--; us++) { surface->DrawGlyph(surface, *us, x, y, DSTF_LEFT); font->GetGlyphExtents(font, *us, 0, &adv); x += adv; } What about Arabic... It depends on your code. At least you have to replace "x+=adv" onto "x-=adv". -- Best Regards Nikita Egorov nik...@gmail.com
_______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev