On 07/15/11 07:37, Stuart Shepherd wrote:
>> I can't get text to display
>> I'm cross compiling fltk to use on a coldfire processor
>> with uclinux, nanoX and nxlib.

        With fonts under X, you have a choice (via 'configure')
        to compile FLTK to use XFT (antialiased fonts) or not.

        In your environment, you might not have XFT,
        so try disabling it before building FLTK, eg:

make clean
./configure --disable-xft
make

        If that doesn't help, see if the fonts FLTK is
        trying to use are available. See src/fl_font_x.cxx
        and search for e.g. 'courier'.

        Be sure those fonts (or at least the ones you think
        you'll be using) are installed, eg:

{"-*-helvetica-medium-r-normal--*"},
{"-*-helvetica-bold-r-normal--*"},
{"-*-helvetica-medium-o-normal--*"},
{"-*-helvetica-bold-o-normal--*"},
{"-*-courier-medium-r-normal--*"},
{"-*-courier-bold-r-normal--*"},
{"-*-courier-medium-o-normal--*"},
{"-*-courier-bold-o-normal--*"},
{"-*-times-medium-r-normal--*"},
{"-*-times-bold-r-normal--*"},
{"-*-times-medium-i-normal--*"},
{"-*-times-bold-i-normal--*"},

        You can check with regular X font tools like 'xfontsel'.
_______________________________________________
fltk mailing list
fltk@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to