nanogui: how to cross compile FreeType font freetype1.3.1
Subject:
AW: [nanogui] how to cross compile FreeType font freetype1.3.1
From:
"Thomas Malkus" ####@####.####
Date:
3 Jul 2007 19:31:15 +0100
Message-Id: <004b01c7bda0$4256cbb0$c7046310$@de>
Hi, Allen,
> Then I use the following line to configure freetype-2.1.7:
> ./configure --host=m68k-uclinux --enable-static
Fine that it compiles also freetype 2.1.7, I had found a message that
the changes to the structure are in version > 2.1, so I tried 2.0.9.
> I am not sure if "--host=m68k-uclinux" is correct. Can you give your
> opinion?
I think it is ok, because if the configure script does not know this
option you will get an error message. You could have a look at
configure.
> Then I copied "times.ttf" to "/tmp". I got the following error
message
> once I ran my application. But I saw the big fonts of FreeType. It's
> working!!!
Fine!
> fnt_createfont: /tmp/times.ttf,25 not found
> In my application, I call the following function to create the font:
> font_times = GrCreateFont((GR_CHAR *)"/tmp/times.ttf", 25, NULL);
> Any idea about this issue? Or I don't need to care about it since
it's
> working? Do I need to copy "times.ttf" to the file system on my
uClinux
> board?
I mean that this error message is normal. I have also configured
microwin
for bdf-Fonts and get two error messages. You could disable the usage
of
these font types in the config of microwindows.
I use a SD-Card for my complete application, libs and fonts. You must
have
the ttf fonts on your board or a extern medium so that your
application/
microwin can find them.
If you need a widget toolset you can try flnx-0.45 (FLTK for nano-x).
That
works fine. I have not found a newer version of flnx until yet and
with
nxlib and fltk 1.1.7 I have much trouble with unresolved symbols.
Regards,
Tom