Ian:

Spot on.  Your explanation of ListFOnts and your advice have gotten me to the 
point where the buttons demo is now running on my arm-based target using 
eCos/Nano-X/Nxlib/Fltk 2.0.

Thank you.

Cheers,

Graham....

>
> >=20
> > Nano-X does support ListFonts for fonts on the file system. =20
> > Since my target is an embedded one, I don't have a file=20
> > system.=20
>
> 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=20
> > the nano-x library.
> >=20
> > After thinking about this over the last day I will be=20
> > concentrating my efforts on the nxlib and nano-x side and=20
> > 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!
>
> --=20
> 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

Reply via email to