>
> On 15 Jul 2011, at 16:35, Greg Ercolano wrote:
>
> > 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.
> >=20
> > With fonts under X, you have a choice (via 'configure')
> > to compile FLTK to use XFT (antialiased fonts) or not.
> >=20
> > In your environment, you might not have XFT,
> > so try disabling it before building FLTK, eg:
> >=20
> > make clean
> > ./configure --disable-xft
> > make
> >=20
>
> Oh yes - good point! The default font handler in 1.0 and 1.1 was to use =
> the Xlib font renderer, but in fltk-1.3 the default is to use XFT, and I =
> seriously doubt nanoX has that working.
>
> Really, try configuring without XFT, or switch to a proper X-server.
>
>
>
> > 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'.
> >=20
> > Be sure those fonts (or at least the ones you think
> > you'll be using) are installed, eg:
> >=20
> > {"-*-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--*"},
> >=20
> > You can check with regular X font tools like 'xfontsel'.
>
> Possibly not - as I may have mentioned, I found the nanoX implementation =
> to be depressingly non-standard and incomplete...
>
>
>
>
>
Thanks for all your replies. I'm as sure as I can be that I have the fonts
installed, and that nanoX and nxlib are pointed to the right place to find
them. I have complied without xft and with, made no difference. The thing that
is confusing me most is that the symbols didn't work if I tried to display
@cirlce that wouldn't work either, that can't be a font issue surely? Would
that be a problem with nanoX being non standard?
Also if I wrote nanoX programs they would display text no problem. Next week I
will try using kdrive instead of nanoX and see if that works.
Cheers
Stuart.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk