DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New] Link: http://www.fltk.org/str.php?L2525 Version: 1.3-current Seems to be a problem specifically with the 'int' and 'char' versions of fl_width() in fl_font_mac.cxx. The char* versions are OK. eg: ---- With Helvetica size 12.. fl_width("X") says width is 7 fl_width('X') says width is 3 <-- CHAR BAD fl_width((unsigned char*)"X") says width is 7 fl_width((unsigned char*)"X",1) says width is 7 fl_width((unsigned char)'X') says width is 3 <-- UNSIGNED CHAR BAD fl_width((unsigned int)'X') says width is 3 <-- UNSIGNED INT BAD fl_text_extents() says width is 7 ---- Link: http://www.fltk.org/str.php?L2525 Version: 1.3-current _______________________________________________ fltk-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-bugs
