DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New] Link: http://www.fltk.org/str.php?L2115 Version: 1.3-current Changing this: ---- inline int fl_height(int, int size) {return size;} ---- ..to instead be implemented something like the following: ---- int fl_height(int font, int size) { if ( font == fl_font() && size == fl_size() ) return(fl_height()); int tf = fl_font(), ts = fl_size(); // save fl_font(font,size); int height = fl_height(); fl_font(tf,ts); // restore return(height); } ---- ..seems to solve the problem in Fl_Text_Display() and fluid for me. However, I do think lines like this in Fl_Text_Display should be double checked: int lineHeight = mMaxsize ? mMaxsize : textsize_; ..as this appears to make direct use of "textsize_" as a pixel size, which should likely be replaced with an appropriate fl_height call. Link: http://www.fltk.org/str.php?L2115 Version: 1.3-current _______________________________________________ fltk-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-bugs
