Hi, I am working on DirectFB-1.4.12 API set. My requirement is to convert UTF-8 text to CLUT8 data.
So, for this I did the following steps: a. Created a surface with pixelformat DSPF_LUT8 b. Set the Font for this surface. c. Set the Color with values 0,0,0,0xFF (ARGB) for this surface d. Used the DrawString on this surface with the source as UTF8 text. e. Lock the surface for reading f. Start reading the data Here's the problem, I get only 0x0 when I start reading from this returned pointer. It seems that the pointer returned to me by lock is the not the one where DrawString has written. My question now is, how to read the data written by DrawString from this surface Thanks for the help.
_______________________________________________ directfb-users mailing list directfb-users@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users