Have you looked at the screen shots attached to STR 2080?

      http://www.fltk.org/str.php?L2080  


Those show the test string you provided, rendered on various different
platforms (Linux, OSX, WinXP, WinVista).

Does your result look like one of these? If so, which one are you
seeing?

Also, the test code that generated those outputs is attached to the STR,
so you can run that on your platform and compare the results you get.
Let us know what you find.

> I had try in different way. First i wrote the string as 
> static string, it display wrong , and vary from run to run. 
> So, i suspect writing it in statict string is not properly 
> deal with by compiler.

If your compiler is not handling static strings correctly, then you have
got bigger problems! What compiler are you using?
It is infinitely more likely that something else in your code is
overwriting the static strings, than that the compiler is getting that
wrong.

> Second I write the string in a 
> resource file, read it from file to a globle array.But it 
> still display wrong.

OK, perhaps if you could post some screenshots somewhere on the web that
illustrate the effect you are seeing, that might be informative. Also
post a minimal compileable example code that we can try, to see if the
effect is reproducible on other platforms.

What platform / compiler / toolchain are you using?






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

Reply via email to