All, I've pushed the experimental patch for the fl_text_extents mechanism into the svn repository. It went in at r6529 (so the last known-good version is r6528 if we need to back this out again!)
Please test - I think it is harmless but... Known issues are: - the Xlib font version is currently just a wrapper for fl_measure, so whilst it works, it does not really do the Right Thing. This is because I don't really know enough about Xlib fonts to fix this, although I am looking into it. (The XFT, OSX and Win32 versions seem to be correct, though.) - To make the Win32 version build with mingw, I had to add code to ensure that WINVER was set >= 0x0500 to get at some of the needed win32 API methods. This was added in fl_font.cxx. I think that is OK, probably, but it may have side effects I am not aware of. If it does, I will need to switch to some mechanism that only enables these functions in systems that have them available (i.e. via configure or perhaps by runtime loading tests.) As I said - please test, let me know of any issues that are found. Thanks, -- Ian _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
