NXlib was expanded years ago to allow FLTK to be used with it. So if you 
develop an FLTK application it should work with FLTK/NXlib and FLTK/Xlib. 
NXlib is a subset of X11. Not many user applications are based on basic Xlib 
therefore NXlib does support FLTK.

Regarding fonts: if you look at the file fontlist.c in the NXlib source you 
can see what directories NXlib scans looking for fonts. This includes a 
local "fonts" directory in your program's working directory. You also have 
to compile Nano-X specifing the font support for the type of fonts you want 
to use e.g. truetype.

If you develop an X11 program chances are that you will have to modify it 
again to run on NXlib too since NXlib is a subset. In general you can see in 
the stubs.c file which Xlib functions are not implemented in NXlib. If you 
want to develop an application based on NXlib I would recommend to develop 
using NXlib on a desktop Linux system. Nano-X/NXlib has drivers to run on 
top of X11 for the development of embedded applications.

Georg

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to