Okay, this is a weird problem that's beginning to drive me crazy, and I don't know where to look. As background, what I have here is a custom live CD linux distribution creating using Buildroot. I've got FLTK 1.1.7 included in this, and have enabled Xft support and included the liberation fonts.
I've added my own custom package to the Buildroot setup to add a FLTK based program to the distribution. The program is working fine except that I cannot get freetype anti-aliased fonts. When I run the "fonts" test program built with the fltk package, it runs just fine, detects the freetype fonts, and displays them correctly with anti-aliasing. If I take the same exact fonts.cxx module, copy it to my package and build it in place of my code, I don't get the freetype fonts or the anti-aliasing. Clearly, *something* is different between the two different builds, but it's far from clear what it is. I've run the fltk-config script from within the build fltk folder, and looked at the parameters it says to use, and added the missing ones to the buildroot build. For cxxflags, this meant adding <root path>/usr/include/freetype2 to the include paths. (oddly, fltk-config also listed /usr/include/freetype2/freetype2, which doesn't exist -- typo? Or possibly related?) For ldflags, this meant adding -lXft -lpthread -lm -lXext -lX11 to the library list. Neither of these made any difference. One other thing which I tried was copying the config.h file over to my folder and adding an include to it inside my copy of fonts.cxx, but again it made no difference. I've kind of run out of ideas here -- any suggestions as to where to go next? Thanks, -->Steve Bennett _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

