DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New] Link: http://www.fltk.org/str.php?L2376 Version: 1.3-feature Hi guys. I am very sorry that I had to trample on some of your work. However, this is Subversion, and should my code turn out to be less useful or more buggy, I'll be happy to reverse all changes I made! The code that I submitted is supposed to be universal for all UTF-8 encodings, character size, character widths, etc. . It includes a very convenient routine that measures and draws UTF-8 text. I put a lot of effort into converting from character to pixel position and back, using one single block of code (and one single source of bugs, if so). I have touched every single line of code in Fl_Text_Buffer and checked it for UTF-8/USC4 compatibility and fixed or annotated it. With very little more effort, we should be able to implement the text wrapping again, so that the new Fl_Text widget should be compatible with the old and at the same time give complete support for proportional fonts in all left-to-right scripts. Again, I apologize that our efforts overlapped so much! - Matthias Link: http://www.fltk.org/str.php?L2376 Version: 1.3-feature _______________________________________________ fltk-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-bugs
