> I'm using FLTK + Nxlib + Nano-X for an ARM target. I wanted to support TTF
> fonts. So i built freetype 2 lib for the arm target and made the necessary
> changes in Nano-X for it.
> Now am trying to build FLTK with --enable-xft. If am right, i need to have
> libXFT built already before i can build FLTK with --enable-xft ?

Yes, if you plan on using XFT with fltk, you really need to have XFT in place 
first so that the build can make use of it (though technically, if you are not 
building fluid or the test examples, you can probably build the fltk libs with 
only the XFT and related headers in place...)


> i tried building libXFT and am running into an error where it is looking
> for fontconfig/fcprivate.h file.
> This is a part of FontConfig, so now am i expected to build FontConfig too
> ?

Yes, XFT is (more or less) intertwined with Fontconfig, so you need to have 
Fontconfig in place before you can build XFT. 
At the lowest level, a lot of XFT and FC functions are interchangeable (at 
least on Linux) so you can call either XftThing() or FcThing() in many cases 
and they are the same "thing" in practice...


> 
> Or am i completely off track here ?

No, other than my on-going worry and belief that persisting with Nxlib is just 
making a rod for your own back. With a more conventional X-server this would 
all Just Work and you wouldn't even need to ask this question!



SELEX Galileo Ltd
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 mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to