DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR Pending]

Link: http://www.fltk.org/str.php?L2550
Version: 1.3-current


You can't measure text w/o setting a font first. The example crashes with
and w/o Xft, BTW. Setting a font fixes it.

The question is: should we set a default font, if none has been set? What
results would we expect?

IMHO the best would probably be to return 0 (or -1?) for all values if no
font has been set, but not to crash.


Link: http://www.fltk.org/str.php?L2550
Version: 1.3-current

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to