$ pango-querymodules > /etc/pango/pango.modules the contents of pango.modules:
# Pango Modules file # Automatically generated file, do not edit # #ModulesPath = /home/IPTV/stb810-SP5/build/rootfs/opt/gtkdfb-mipsel/lib/pango/1.5.0/modules # $ fc-cache -s -f -v /usr/share/fonts terminate shows: Fontconfig error: Cannot load default config file /usr/share/fonts: caching, 0 fonts, 3 dirs /usr/share/fonts/bitmap-fonts: caching, 30 fonts, 0 dirs /usr/share/fonts/bitstream-vera: caching, 10 fonts, 0 dirs /usr/share/fonts/default: caching, 0 fonts, 2 dirs /usr/share/fonts/default/Type1: caching, 35 fonts, 0 dirs /usr/share/fonts/default/ghostscript: caching, 17 fonts, 0 dirs /home/IPTV/stb810-SP5/build/rootfs/opt/gtkdfb-mipsel/var/cache/fontconfig: clean ing cache directory ./fc-cache: succeeded Gtk-demo still got errors. thomas liu 2007-05-15 发件人: Pedro Aguilar 发送时间: 2007-05-15 16:42:16 收件人: thomas liu 抄送: directfb-dev 主题: Re: [directfb-dev] Warninig in Pango and Fontconfig 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 > > directfb-dev@directfb.org > > http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev > > _______________________________________________ > > directfb-dev mailing list > > directfb-dev@directfb.org > > http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev > -- > Pedro Aguilar > > > _______________________________________________ > directfb-dev mailing list > directfb-dev@directfb.org > http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev > _______________________________________________ > directfb-dev mailing list > directfb-dev@directfb.org > http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev >
_______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev