> > > I think it is not related to the text encoding, because I=20 > > just run the fltk demo application in arm board, the text are=20 > > all english letter. > > OK - but English (i.e. nominally basic ASCII) text encoded as UTF-16 > produces exactly the effect you describe, which is why I asked the > question... > > E.g. what should be "Hello" - 0x48 0x65 0x6c 0x6c 0x6f in ASCII (or > UTF-8) becomes > > 0x00 0x48 0x00 0x65 0x00 0x6c 0x00 0x6c 0x00 0x6f in UTF-16... Which > would produce the empty glyphs you report. > > > I have tried by using fltk-2.0, it has no=20 > > such issue. > > OK. No idea then. Sorry... > > > Only thing I can suggest is that you run "od" or "hexdump" on your input > text so that we can get a look at the raw binary, see how that looks... > > > od -t x1 my_file | head > > > > > SELEX Galileo Ltd > Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS= > 14 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. > ******************************************************************** >
I have dump the raw data of my file, I have input 8 'a', the dump data has the line of below: 00000f0 202c 3031 2c30 2220 6161 6161 6161 6161 So I think the encoding should be right. Thanks for your help. I think I still need to use fltk-2.0. I still has one question, why the initialize speed of fltk-1.3 is faster than fltk-2.0. The same example test program, fltk-1.3 take about 0.7 second to display, but fltk-2.0 need about 1.2 second. Someone in the Forum told me it is because fltk-2.0 need to load lots fonts. But fltk-1.3 do not need load fonts? _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

