On 1 Oct 2011, at 20:50, Manolo Gouy wrote: > > I see that libXrandr depends on libX11, libXext, libXrender, and libc > and that libXft depends on all of these and others. Thus, I conclude > that using libXrandr does not require additional libraries > on the platform besides itself. > Is that correct ?
I think so - but the key here (as it is for XFT too, of course) is that is it is on your system at build time, the binary will expect to be able to load it (XFT | XRandR) at runtime, and of course this may not be true if you run on a different machine. I think what Matthias was suggesting is that we might be bale to test for XRandR at runtime and load it where it is available, and use it, but if it is not available, then we fall back to the existing behaviour on X11 systems instead. This sounds feasible, and might well be worth doing - there are already a few WIN32 options that we only load dynamically if the relevant DLL's are available (and multi-head support is one such thing) so that may be appropriate and consistent to do on X11 too. However, then that opens up the more general case of whether we ought to try and do that in general - e.g. loading XFT where it is available and falling back to Xlib fonts where it is not - but that just does not appeal to me much! Or I maybe misinterpreted the question... _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
