Hi All: Read various posts about support of Chinese characters with DirectFB in users group.
Want to know if someone has suggestions for with display of UTF-8 encoded string? Chinese fonts appear as a empty box with no character or graphic displayed. I am using the wqy-zenhei fonts. These fonts have other international characters and they do render correctly with UTF-8 encoding. Fonts used: http://sourceforge.net/projects/wqy/files/wqy-zenhei/ I am passing multi-byte string to directFb and using drawText API. The character string is encoded in UTF-8. // fixed string of spanish characters - works well - text is displayed char fixedString[] = {99, 97, -61, -79, -61, -77, 110, 0}; // fixed string of Chinese characters - text is not displayed, only boxes appear in place of characters char fixedString[] = { 0xE4, 0xB8, 0x87, 0xE4, 0xB8, 0x81, 0xE4, 0xB8, 0x83, 0x00 }; // fixed string of Arabic characters - works well - text is displayed char fixedString[] = {-40, -89, -39, -124, -40, -71, -40, -79, -40, -88, -39, -118, -40, -87, 0}; Using DirectFB (1.6) complied for ARM. Any sugesstion with sample code will be helpful. Thanks, ---
_______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev