Hi,

I have a query regarding FLTK and Korean string.

I have a board which uses ARM OS. I build my firmware on Linux OS. I
have application part and underlying FLTK engine.

My application works for English and Korean text.

I have an FL_BOX in which I have to display the string.

In application part, I set the label of the string to be displayed in
the box and set it as FL_ALIGN_CENTER.

I have to call the function GrText() to draw the string on board.
GrText takes UTF-16 string and x, y.

But x, y were calculated according to UTF-8 Korean string wherad I
have to pass UTf-16 string to GrText. So my Korean string is not
coming at correct place. I mean alignment is not proper whereas it
works fine for English string.


Please suggest some solution.

Thanks,
Rama

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

Reply via email to