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


Hmm, using your test program and adding an fl_font() setting at the top, I
can't replicate a crash with or without xft enabled on my linux (ubuntu
8.04/32bit) system (below).

Try putting the following 'foo.cxx' file in the fltk "examples"
directory and run 'make foo', and see if it runs OK, to rule out
a possible makefile issue.

----
$ cat foo.cxx
#include <FL/Fl.H>
#include <FL/fl_draw.H>
#include <FL/Fl_Window.H>

int main(int argc, char **argv) {
   int xx, xy, xw, xh;
   fl_font(FL_HELVETICA, 14);
   fl_text_extents("x", xx, xy, xw, xh);
   printf("Values: %d,%d,%d,%d\n",xx,xy,xw,xh);
   return Fl::run();
}

$ make foo
*** Compile foo.cxx...
*** Linking foo...

$ ./foo
Values: 0,-13,7,16
----


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