Hello, You can try the following and see if it works for you.
- DrawString with correct font on a non-primary surface - I guess you can find the correct position everytime you do a DrawString - Then after constructing the full string blit non-primary surface onto primary surface. If the symbol is not found in Font, you are going to get Garbage anyways. I am not sure which you will get. From: directfb-users [mailto:directfb-users-boun...@directfb.org] On Behalf Of Alejandro Vázquez Sent: Thursday, May 07, 2015 2:08 PM To: directfb-users@directfb.org Subject: [directfb-users] Fwd: fallback font in directFB You can use DirectFB font API’s to create and apply the font. It’s needs to be managed by your app, which font is required when, so, correct font is created and applied. Hello! I understand you but my problem is when I mix 2 languages. If for example i want to write in English and arabic, i can't use the same font. So if I try to write, some characters will not appear or will not show correctly. Is there any way to indicate that if you can not display a character font change?
_______________________________________________ directfb-users mailing list directfb-users@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users