nanogui: problem with japanese fonts
Subject:
Re: [nanogui] problem with japanese fonts
From:
Roberto ####@####.####
Date:
15 Jul 2007 20:33:44 +0100
Message-Id: <469A76B4.9030807@tnw2000.org>
Hi ravi,
Your linker wants to link /usr/lib/libttf.so. This is native code from
your system.
You need the cross compiled lib:
INCFTLIB = <path to your includes you used for
crosscompiling freetype>/
LIBFTLIB = <path to your cross compiled libs>/libttf.so
regards
Robert
ravi kumar wrote:
> 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
>>
>>
>