Hi Folks,

FWIW, this sample with correct 0 terminated utf8 string, does NOT shows 
correctly in the box, nor in the menu at least on Ubuntu 8.10.
But it does show correctly in the title bar and printf debug string (so utf8 
draws handled by the linux window manager and system).

I have chinese installed in my ubuntu 8.10 box and I would tend to think it is 
a problem in our lib.
Instead of having the chinese glyphs, we get '?' chars instead in our 
fltk-drawn code.

Fabien

> imacarthur wrote:
> > On 1 Nov 2008, at 17:08, Greg Ercolano wrote:
> >>    Does the following program display inconsistently?
> >
> > Well, works for me, and lots shorter than the hack I wrote!
> > Observations are that the 0xFF at the end of the input string needs
> > to be excised (0x00 is a better value!) and the box needs to be
> > *much* bigger to get all the text in at 24 pixel font size!
>
>       Ya, I couldn't test it cause my linux box doesn't have
>       chinese fonts configured, so larger widths are likely needed.
>
>       And yes, the \xff at the end does sound wrong and should
>       probably be deleted.

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to