Hi, On Thu, 2009-08-27 at 20:23 -0400, Weidong Li wrote:
> Thanks for the info! Yes, I am absolutely sure that the font files I > tried contain Chinese characters and they work fine with X11 > applications to display Chinese fonts. Even xfd could display Chinese > characters from those files. > > I also suspect that the example program df_font.c that comes in the > directfb package might have problems in handling unicode characters > that require multiple bytes. I've tried several UTF-8 font files with > df_font, and none worked for characters requiring multiple bytes. I'm > not sure if the problem is in df_font, or is in directfb itself. I have just tried this myself and it works just fine. My guess is that this is a misunderstanding about what df_fonts displays. You are looking at the characters laid out in a table at their Unicode code points. Thus you need to scroll down lots of pages to reach the Chinese characters. If you want to look at the characters sorted by glyph index in the font, then press the U key. Sven _______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
