Hi, On Thu, 2009-08-27 at 08:24 -0400, Weidong Li wrote: > I'm new to this mailing list. I have a directfb 1.2.6 built for an > arm device. It seems that it has probblems in displaying fonts in > Chinese characters, or I did not use it correctly? Here is the > symptom I had: > > I used the release example program, df_fonts, to display a ttf font > file as follows: > df_font fontfile.ttf > Upon this, it displayed a table of the font from the font file, but > only latin characters were correctly displayed. The Chinese characters > were shown as empty boxes.
Are you absolutely sure that the font you looked at does have coverage for Chinese characters at all? DirectFB does have full Unicode support. You should be aware though that the font rendering capabilities of the core DirectFB API are quite limited. If you need more advanced font rendering, you could consider to use Pango on top of DirectFB. Should be possible to use the Pango with the DirectFB port of Cairo. But I haven't tried this myself yet. Sven _______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
