> I download fltk-utf8_1.1.6-3.tar.gz from > http://www.oksid.ch/fltk-uft/index.html > > I can't find any document or guidance in the website or src directory.
It's not a supported patch (none of the fltk-1.x UTF8 ports are officially supported) and I don't think Oksid's been around here much recently. > So I compile it with following command. > > # tar -xzvf fltk-utf8_1.1.6-3.tar.gz > # cd fltk-utf8-1.1.6 > # ./configure > # make Looks about right. I'd have added --enable-threads to that configure command, but that does not impact on font handling. > And finished successfully. The applications in the test/ directory > can run normally, except "./utf8" application. It only show ascii > character. Other characters are uncorrect. > > Can anybody tell me how to make it right? > I run it on my PC with Fedora 5. This fltk-utf8 port is against an older version of fltk (1.1.6 is years old now) but is generally good, and works fine. The *usual* problem people have is that the fonts they are using simply don't include the glyphs for the required characters, or *sometimes* they do have the necessary glyphs, but at the wrong codepoints, so they do not match the Unicode, and the wrong glyph is displayed. So, I'd suggest you try a few different fonts, and see if the behaviour changes... An alternate might be to try one of the other fltk-utf8 patches (there are several kicking about now.) Mine is at: http://www.imm.uklinux.net/fltk/fltk118-utf8-2007-10-11.tar.bz2 Which is a snapshot against a more recent fltk-1.1.x svn tree. This version also supports XFT, so is *sometimes* better at finding a font that has the glyphs you need... I configure this with --enable-xft --enable-threads. 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

