[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
problem with japanese fonts
From: "ravi kumar" ####@####.#### Date: 3 Jul 2007 15:48:36 +0100 Message-Id: <4ec498290707030748r48bffc65j960efadab2d3937e@mail.gmail.com> hi, I have enabled the japanese font support in the config file and compiled the microwindows. I changed the fontdemo.c file to take the japanese font present in the fonts/japanese directory and compiled the microwindows . When i ran the fontdemo application i am getting the folloowing errors.. fnt_createfont: fonts/japanese/jiskan16-2000-1.bdf,3 not found fnt_createfont: fonts/japanese/jiskan16-2000-1.bdf,4 not found fnt_createfont: fonts/japanese/jiskan16-2000-1.bdf,5 not found fnt_createfont: fonts/japanese/jiskan16-2000-1.bdf,6 not found Please help me .. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] problem with japanese fonts
From: "Greg Haerr" ####@####.#### Date: 5 Jul 2007 18:58:35 +0100 Message-Id: <0b0401c7bf2e$3e35e9f0$6401a8c0@gregnewport> > I have enabled the japanese font support in the config file and compiled Are you talking about the DBCS support, we don't otherwise have "japanese" support, per se. > the microwindows. I changed the fontdemo.c file to take the japanese font > present in the fonts/japanese directory and compiled the microwindows . When > i ran the fontdemo application i am getting the folloowing errors.. > fnt_createfont: fonts/japanese/jiskan16-2000-1.bdf,3 not found > fnt_createfont: fonts/japanese/jiskan16-2000-1.bdf,4 not found > fnt_createfont: fonts/japanese/jiskan16-2000-1.bdf,5 not found > fnt_createfont: fonts/japanese/jiskan16-2000-1.bdf,6 not found The system doesn't work with raw .bdf fonts, they need to be converted to .fnt or .pcf format first. Use "convbdf -f" to convert .bdf fonts to .fnt format. Regards, Greg | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] problem with japanese fonts
From: "ravi kumar" ####@####.#### Date: 6 Jul 2007 05:12:09 +0100 Message-Id: <4ec498290707052112p52957231sc9ae6262e5ff6ed8@mail.gmail.com> Hi, Thanks a lot for ur reply, Can i use .ttf fonts to display the japanese character.Actually i had a CD which contains five japanese fonts in .ttf format ,how can i use these format in fontdemo application... Or do we need to convert these fonts into some other fonrmat (like .pcf or .fnt).Waiting for ur reply please........ Best Regards, Ravi Kumar.T On 7/5/07, Greg Haerr ####@####.#### wrote: > > > I have enabled the japanese font support in the config file and > compiled > > Are you talking about the DBCS support, we don't otherwise > have "japanese" support, per se. > > > > the microwindows. I changed the fontdemo.c file to take the japanese > font > > present in the fonts/japanese directory and compiled the microwindows . > When > > i ran the fontdemo application i am getting the folloowing errors.. > > fnt_createfont: fonts/japanese/jiskan16-2000-1.bdf,3 not found > > fnt_createfont: fonts/japanese/jiskan16-2000-1.bdf,4 not found > > fnt_createfont: fonts/japanese/jiskan16-2000-1.bdf,5 not found > > fnt_createfont: fonts/japanese/jiskan16-2000-1.bdf,6 not found > > The system doesn't work with raw .bdf fonts, they need to > be converted to .fnt or .pcf format first. Use "convbdf -f" > to convert .bdf fonts to .fnt format. > > Regards, > > Greg > > | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] problem with japanese fonts
From: "Greg Haerr" ####@####.#### Date: 6 Jul 2007 07:21:53 +0100 Message-Id: <003a01c7bf96$1c2b2e20$6401a8c0@gregnewport> > Can i use .ttf fonts to display the japanese character.Actually i had a CD > which contains five japanese fonts in .ttf format ,how can i use these > format in fontdemo application... Or do we need to convert these fonts into > some other fonrmat (like .pcf or .fnt).Waiting for ur reply please........ You can use .ttf fonts just like .pcf or .fnt fonts. Just enable freetype option in the config file and specify the full path in the GrCreateFont() call, as in fontdemo. Of course, you need a compatible, compiled version of freetype installed. Regards, Greg | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] problem with japanese fonts
From: "ravi kumar" ####@####.#### Date: 10 Jul 2007 12:14:45 +0100 Message-Id: <4ec498290707100414u3b5f1813p614d44559bb1dce7@mail.gmail.com> Hi, Thanks for ur reply....... I have microwindows soruce with uClinux distribution.In which i have a blackfin cross compiler option.So in config file i enabled 1) HAVE_EUCJP_SUPPORT = y (Japanese font support) 2) ARCH = blackfin (Cross-compiling for blackfin) 3) LINK_APP_INTO_SERVER = Y (I am not using any n/w things so i am not compiling nan-X and nanowm applications individually) In fontdemo file i am giving the option 1) in fontdemo application i included "ipam.ttf" in GrCreateFont() (For displaying Japanese characters) When I am running ./fontdemo application i am getting the following error messages createfont: no font found, returning NULL createfont: no font found, returning NULL createfont: no font found, returning NULL 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..... Pls help me to solve this pblm.... Thaks & Regards, Ravi Kumar.T On 7/6/07, Greg Haerr ####@####.#### wrote: > > > Can i use .ttf fonts to display the japanese character.Actually i had a > CD > > which contains five japanese fonts in .ttf format ,how can i use these > > format in fontdemo application... Or do we need to convert these fonts > into > > some other fonrmat (like .pcf or .fnt).Waiting for ur reply > please........ > > You can use .ttf fonts just like .pcf or .fnt fonts. Just enable > freetype option in the config file and specify the full path > in the GrCreateFont() call, as in fontdemo. Of course, > you need a compatible, compiled version of freetype > installed. > > Regards, > > Greg > > | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] problem with japanese fonts
From: "Greg Haerr" ####@####.#### Date: 10 Jul 2007 17:54:56 +0100 Message-Id: <0c1301c7c312$fc88a630$6401a8c0@winXP> : 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 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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 > > | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] problem with japanese fonts
From: "Greg Haerr" ####@####.#### Date: 11 Jul 2007 18:15:15 +0100 Message-Id: <0ed701c7c3df$091f2d70$6401a8c0@winXP> : /usr/lib/libttf.so: could not read symbols: File in wrong format Its pretty obvious that you're trying to link your target application with your host's libttf.so. The freetype library needs to be cross compiled and a new path specified for it. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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 >> >> > | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |