> 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.

Yes - that looks OK.

Does your code run correctly on your other platforms, i.e. not on your
arm target?
What does it do on an x86 PC, for example?

I strongly suspect there is something in the arm setup that is exposing
this issue, so we need to see what happens on other systems for
comparison.



> Thanks for your help. I think I still need to use fltk-2.0.

Well - best of luck with that. 
You will be pretty much on your own though, you need to be aware of
that.


> 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?

I *think* (and this is mainly a guess) that fltk-2 tries to enumerate
installed fonts at startup, whereas fltk-1.x only enumerates the
installed fonts when told to do so using the Fl::set_fonts("*") method
(note that is set_fonts(...) *not* set_font(...) there!)
You do not need to enumerate all the fonts to load them, you can just
load individual fonts, of course.



SELEX Galileo Ltd
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

Reply via email to