> Maybe we've been here before and I just forgot, > or maybe it's cause I upgraded from Fedora3 to Ubuntu8 recently.. > > Should FLTK 1.3.x be able to display Japanese UTF8 "automatically" > under linux with XFT enabled? > > Under Ubuntu8 I get "boxes" in place of japanese characters > unless I specify a Japanese font, like: > > Fl::set_font(FL_HELVETICA, "Kochi Gothic"); > > Should FLTK somehow be automatically displaying Japanese UTF8 > text, without hard coded Fl::set_font()'s? > > I think with WIN32 and OSX, there are no special Fl::set_font() > commands needed to get Japanese to display, but linux seems to > be an exception.
Well, the XFT engine can do that, but the code we have so far (i.e. the code I wrote) does not really take advantage of that - it is more work... However, the various UTF8 patches that Timothy Lee has posted against 1.3.x take us a long way in that direction, and we *really* ought to look at them and get them merged in. (See http://www.fltk.org/str.php?L1903 and others...) A little side note: I won't have time to look at this myself - my wife and I just had out first baby, and it is consuming all my time... We should have done it 25 years ago, when we were the "right" age for that particular job... SELEX Sensors and Airborne Systems Limited Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

