Hi, You can exec in the target $ pango-querymodules > /etc/pango/pango.modules
The fc-cache if for speeding up app start-up. $ fc-cache <fonts-dir> <fonts-dir> could be something like /usr/share/fonts in the target Regards, Pedro Aguilar > Hi > > I cross-compliled gtk+2.10.0 with all libraries > (glib,pango,fontconfig,atk,freetype) > but pango and fontconfig gives the warnings.. > > That warnings are: > > In fontconfig: > > *** > *** Warning: fonts.cache not built > *** > *** Generate this file manually on host system using fc-cache > *** > > In pango: > > Warning :pango.modules not created > Generate this file on the target system > system using pango-querymodules.. > > > and i got error on target(when running gtk-demo) like following: > > Fontconfig error: Cannot load default config file > > (gtk-demo:953): Pango-WARNING **: No builtin or dynamically > loaded modules were found. Pango will not work correctly. > This probably means there was an error in the creation of: > > '/home/IPTV/stb810-SP5/build/rootfs/opt/gtkdfb-mipsel/etc/pango/pango.modules' > You should create this file by running pango-querymodules. > > Have you encountered this and how to solve it? Thank you! > > Regards, > > > > thomas liu > 2007-05-15 > > > > ·¢¼þÈË£º Pedro Aguilar > ·¢ËÍʱ¼ä£º 2007-05-12 19:59:35 > ÊÕ¼þÈË£º thomas liu > ³ËÍ£º directfb-dev; Attilio Fiandrotti > Ö÷Ì⣺ Re: [directfb-dev] GTK over DirectFB on MIPS processor > > Hi, > > This Fontconfig error is normal if you don't have any fonts installed in > your system. It's not a compilation problem. For a quick test, you can > copy some fonts (like /usr/share/fonts/bitstream-vera) from your linux > host to your target. This should work. Add the path where you copy the > fonts in your target to the fonts.conf. > > Regards, > > Pedro Aguilar > > On Fri, 2007-05-11 at 17:57 +0800, thomas liu wrote: >> Thanks for your reply! >> >> Just now I recompiled Pango, then the crash msg became: >> >> Fontconfig error: Cannot load default config file >> No fonts found; this probably means that the fontconfig >> library is not correctly configured. You may need to >> edit the fonts.conf configuration file. More information >> about fontconfig can be found in the fontconfig(3) manual >> page and on http://fontconfig.org >> (!!!) *** WARNING [Application exited without deinitialization of >> DirectFB!] * >> ** [core.c:741 in dfb_core_deinit_check()] >> (!) Direct/Thread: Killing 'Fusion Dispatch' (1012)! >> Killed >> >> So is it concerned about fontconfig? >> >> I found in pango readme following: After installing fontconfig, it >> may be necessary to edit >> the fonts.conf file, found at $(sysconfdir)/fonts/fonts.conf >> (usually /etc/fonts/fonts.conf) to point at the fonts >> on your system. >> >> Could anybody tell me how to edit the font.conf file? Thank you! >> >> ______________________________________________________________________ >> thomas liu >> 2007-05-11 >> >> ______________________________________________________________________ >> ·¢¼þÈË£º Attilio Fiandrotti >> ·¢ËÍʱ¼ä£º 2007-05-11 17:14:39 >> ÊÕ¼þÈË£º directfb-dev >> ³ËÍ£º >> Ö÷Ì⣺ Re: [directfb-dev] GTK over DirectFB on MIPS processor >> >> Áõͦ ha scritto: >> > Hello, >> > >> > I saw your bug report on >> > http://mail.directfb.org/pipermail/directfb-dev/2006-May/001854.html, >> > which I faced today almost the same. >> > I want to setup GTK >> + on a Philips PNX8550 MIPS processor which >> > supports DirectFB 0.9.25, so I follow a Wiki help doc from >> > >> http://www.directfb.org/wiki/index.php/Projects:GTK_on_DirectFB_for_Embedded_Systems >> > >> >> <http://www.directfb.org/wiki/index.php/Projects:GTK_on_DirectFB_for_Embedded_Systems >> > > >> > (is it written by you?) to do this. I downloaded those components and >> > followed the instructions strictly. >> > Finally I compiled GTK+ successfully on MIPS, but when I run >> > gtk-demo, it crashes with the following msg: >> >> <snip/ > >> >> > What do you think the problem is? Any help is appreciated. >> >> Could you please provide a backtrace of the crash ? This could help in >> understanding what the crash is due to. >> >> BTW, now the gt-2-10 gtk+ branch is up to date again, you may want to >> use it instead of trunk. >> >> regards >> >> Attilio >> >> _______________________________________________ >> directfb-dev mailing list >> [email protected] >> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev >> _______________________________________________ >> directfb-dev mailing list >> [email protected] >> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev > -- > Pedro Aguilar > > > _______________________________________________ > directfb-dev mailing list > [email protected] > http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev > _______________________________________________ > directfb-dev mailing list > [email protected] > http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev > _______________________________________________ directfb-dev mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
