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 > It is a pity if formated CJK text can't be counted according to > the style. Yes, it is, but the original FLTK was probably not designed with extensive non-Latin capabilities in mind. In fltk.development, the concensus over the past couple of days is that FLTK should only try to display Unicode characters. The problem is that most of the FLTK developers have no or limited exposure to working with non-ascii or non-latin text. But as we have seen in this STR, just to display a complex character is not enough: additional knowledge is required about how to join those characters together using specific rules. It has been very useful that people like yourself, with experience in using these characters, could provide such invaluable feedback. However, to implement general capabilities for character composition, "hyphenation" and "line breaking", sorting, bi-directional or right to left text layout is a huge task, and beyond the "fast light" goal of FLTK. Even if we had the manpower, resources and expertise for it. Users who need such specialised functionality are probably already working with libraries such as icu4c or pango, or even something more localised developed specifically for that country or language/script. > For wrap_mode(1,0), CJK text will also be wrapped at non-spacing > position in Fl_Text_Display. This needs further investigation. > Another bug for wrap_mode(1,0): > If the size of Fl_Text_Display window was decreased in both > direction, the line will not changed and will not be wrapped > according to the new margin. When I tested against [a modified version of] the wrap_mode10.cxx file attached to this STR, I saw that the text flowed back and forth as the window was resized. Are CJK characters handled differently? Could you please provide a modified version of wrap_mode10.cxx that is populated with CJK characters, and report your findings? 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
