> > Nano-X does support ListFonts for fonts on the file system. > Since my target is an embedded one, I don't have a file > system.
OK - and I assume the folk who converted fltk-1.x to run on Nano-X did have a file system, and therefore what they did to work around this is not applicable to your situation? > Fonts are converted to *.c files and compiled in to > the nano-x library. > > After thinking about this over the last day I will be > concentrating my efforts on the nxlib and nano-x side and > minimizing or eliminating any changes to fltk 2.0. I dunno though - might not be that hard to "tweak" fltk to work with this - the code in /src/x11/Font_xlfd.cxx pretty much assumes you have a basic set of fonts available (see the array called "fonts[]" ) and then uses XListFonts to get others - you could probably stub out a lot of what is in Font_xlfd.cxx and just return your built in fonts for everything... We kinda did this with a fltk-1.1.x build on VxWorks way back when. Sounds like less work than trying to fix Nano-X to me, although I don't know Nano-X well enough to say! -- Ian SELEX Sensors and Airborne Systems Limited Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
