nanogui: problem with japanese fonts
Subject:
Re: [nanogui] problem with japanese fonts
From:
"ravi kumar" ####@####.####
Date:
11 Jul 2007 05:26:43 +0100
Message-Id: <4ec498290707102126t4ea0ef3cj9bc8ed633cfc8ccd@mail.gmail.com>
Thanks Greg....
I enabled
1) HAVE_FREETYPE_SUPPORT=Y in (config file)
2) "ipam.ttf" in GrCreateFont() in (fontdemo appln)
then
I have compiled the microwin source for redhat and run
./fontdemoapplication, it is working fine,but when i try to
cross-compile the same for
blackfin i am getting the following error message
Creating library libnano-X.a ...
Compiling demos/nanowm/nanowm.c ...
Compiling demos/nanowm/events.c ...
Compiling demos/nanowm/wlist.c ...
Compiling demos/nanowm/clients.c ...
Compiling demos/nanowm/actions.c ...
Linking nanowm ...
/usr/lib/libttf.so: could not read symbols: File in wrong format
I think the library is not matching for that.
Pls help me to solve this..........
Best Regards,
RaviKumar
On 7/10/07, Greg Haerr ####@####.#### wrote:
>
> : 1) HAVE_EUCJP_SUPPORT = y (Japanese font support)
>
> Set this to N, this is outdated and for DBCS only, not TTF, which
> you're using.
>
> : 1) in fontdemo application i included "ipam.ttf" in GrCreateFont()
>
> Since you're using a .ttf font, you must enable Freetype in the
> config file. HAVE_FREETYPE_SUPPORT=Y and have
> the freetype library compiled and installed.
>
>
> : My doubt is for displaying Japanese character on framebuffer which font
> : support we can use,
> : whether .pcf or .ttf or .fnt and can we enable one more language support
> in
> : config file.....
>
> Its not the language you're configuring, its the font format. If you're
> using .pcf , enable PCF, .ttf enable FREETYPE.
>
> Regards,
>
> Greg
>
>