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 OK, been looking at this a bit further... If we add Markus Kuhn's wcwidth.c into src/xutf8 for testing, we still need to have a wrapper function that takes a char* pointing to the start of the UTF-8 sequence, converts it to UCS, and then calls mk_wcwidth(). Plus, we will need to rejig FL_Text_Buffer because at the moment we have int Fl_Text_Buffer::expand_character(char c, ...) and int Fl_Text_Buffer::character_width(char c, ...) If we overload these to have versions that take a char* we might be able to do it, but more investigation required. 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
