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.
>
> 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
>
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'.
>
> 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'.
Possibly not - as I may have mentioned, I found the nanoX implementation to be
depressingly non-standard and incomplete...
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk