DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2158
Version: 1.3-current


Thank you. The result really changed when applying the fix. But this
problem haven't solved completely.
I have upload the result as "textdisplay2.png". 

In my example, the width of the selected wide character is 2. And after I
replace the value with 2 instead of 1, the example code works correctly:

  else if (c & 0x80) {
    //return fl_utf8len(c);
    //return 1;
    return 2;
  }

But this will only work for wide character in width 2. Is there any
methods to fix this generally?
Thanks again.


Link: http://www.fltk.org/str.php?L2158
Version: 1.3-current

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

Reply via email to