DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New] Link: http://www.fltk.org/str.php?L2080 Version: 1.3-current When presented with a UTF-8 test string (Chinese in this example) it is apparent that fltk-1.3 does not decode the string correctly under some unknown circumstances. This effect is apparent across all tested platforms but is different on each platform. Attached is the test code (thanks largely due to Greg) that was used in this test, and a series of screen grabs showing the effect on each platform. In each, the test string is rendered several times. The upper view in each case is an Fl_Box, the lower view is an Fl_Multiline_Input widget. Of particular note is test line 3. This appears rendered correctly in the Fl_Input widget on all platforms, but *is not* rendered correctly in the Fl_Box widget (except on OSX, where it is correct in both display widgets...) linux-test.png: Window title (almost) correct, Fl_Box line 3 broken, Fl_Input correct, menu items broken (not visible in screenshot.) osx-test.png: Window title garbage, Fl_Box line 3 correct, Fl_Input correct, menu items correct (not visible in screenshot.) vista-test.png: Window title correct, Fl_Box line 3 broken, Fl_Input correct, menu items broken (not visible in screenshot.) winXP-tst.png: Window title garbage, Fl_Box line 3 broken, Fl_Input correct, menu items broken (visible in screenshot.) -- Ian Link: http://www.fltk.org/str.php?L2080 Version: 1.3-current Attachment: http://www.fltk.org/strfiles/2080/test-src.zip _______________________________________________ fltk-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-bugs
