[Dillo-dev] Re: [fltk.general] Cross-compiling Dillo to ARM

Alan Carvalho de Assis acassis at gmail.com
Wed Jul 8 20:58:40 CEST 2009

Hi Ian,

On 7/8/09, imacarthur <imacarthur at gmail.com> wrote:
> On 8 Jul 2009, at 16:33, Alan Carvalho de Assis wrote:
> fltk-2 is not my strong suit, so what follows is just guesswork
> really. However, here are some questions that might be relevant:
> What fonts does your target system actually have installed? Which
> names, what types, etc.?
> Now, the reason I ask is that I see from the gdb trace that your
> program crashed in Font_xlfd.cxx, so presumably it was attempting to
> load an "old style" XLFD font.
> You say your test build works with fltk-1.3, and it defaults to using
> "new-style" XFT fonts, rather than using XLFD fonts (although it can
> also use XLFD fonts, *or* can be built to only use XLFD fonts by
> passing --disable-xft to configure at build time.)
> So... I'm guessing that the fltk-1.3 build works for some reason
> because it is using XFT and the fltk-2 build fails because it
> attempts to use XLFD. Does that seem feasible?
> If so, it might be worth trying to make sure the fltk-2 build loads
> an XFT rather than XLFD font, see how that goes.
> All that said, however, a default flrk-2 build *ought* to default to
> XFT enabled anyway - unless someone has changed that?
> Did you later that setting during config by any chance? Maybe that is
> somewhere to start looking, if nothing else...

You are right, I compiled Xorg (kdrive) with "--enable-builtin-fonts",
then FLTK2 doesn't work.

I think FLTK2 could to work with only "fixed" font, just like FLTK1 does.

Thank you very much!


P.S.: Dillo is working fine on i.MX27 now!

More information about the Dillo-dev mailing list