Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

gtk-demo fonts not enabled . Pango-CRITICAL **: No fonts found

535 views
Skip to first unread message

tintin

unread,
Dec 1, 2008, 5:35:09 AM12/1/08
to
Hi all ,

i am testing gtk-demo application on my arm board which has linux os
(fedora) . i get the window but fonts are not enabled . when i run ./
gtk-demo i get the following messages

~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.2.0 |
~~~~~~~~~~~~~~~~~~~~~~~~~~
(c) 2001-2008 The world wide DirectFB Open Source Community
(c) 2000-2004 Convergence (integrated media) GmbH
----------------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2008-11-25 13:24)
Testing the memory before direct find
(*) Direct/Thread: Started 'VT Switcher' (-1) [CRITICAL OTHER/OTHER
0/0] <2093056>...
(*) Direct/Thread: Started 'Keyboard Input' (-1) [INPUT OTHER/OTHER
0/0] <2093056>...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org)
(*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(*) FBDev/Surface: Allocated 320x240 16 bit RGB16 buffer (index 0) at
offset 0 and pitch 640.
(*) GDK/DirectFB: System visual RGB16

(gtk-demo:440): Gdk-CRITICAL **: gdk_drawable_set_colormap: assertion
`cmap == NULL || gdk_drawable_get_depth (drawable) == d
(*) Direct/Thread: Started 'EventBufferFeed' (-1) [MESSAGING OTHER/
OTHER 0/0] <2093056>...
Fontconfig error: Cannot load default config file

(gtk-demo:440): Pango-CRITICAL **: 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
Error reading Pango modules file

(gtk-demo:440): Pango-CRITICAL **: No modules found:
No builtin or dynamically loaded modules were found.
PangoFc will not work correctly.
This probably means there was an error in the creation of:
'/root/usr/cpusr/moz/etc/pango/pango.modules'
You should create this file by running:
pango-querymodules > '/root/usr/cpusr/moz/etc/pango/pango.modules'

(gtk-demo:440): Pango-WARNING **: failed to find shape engine, expect
ugly output. engine-type='PangoRenderFc', script='lati'

(gtk-demo:440): Pango-CRITICAL **: 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
(!!!) *** UNIMPLEMENTED [IA__gdk_window_set_type_hint] ***
[gdkwindow-directfb.c:2150]
(!!!) *** UNIMPLEMENTED
[IA__gdk_window_enable_synchronized_configure] *** [gdkwindow-
directfb.c:2614]
(!!!) *** UNIMPLEMENTED [IA__gdk_window_set_icon_list] ***
[gdkwindow-directfb.c:1983]
(!!!) *** UNIMPLEMENTED [IA__gdk_window_set_icon] *** [gdkwindow-
directfb.c:1997]
(!!!) *** UNIMPLEMENTED
[IA__gdk_display_request_selection_notification] *** [gdkdisplay-
directfb.c:362]
(!!!) *** UNIMPLEMENTED [IA__gdk_window_unmaximize] *** [gdkwindow-
directfb.c:2132]
(!!!) *** UNIMPLEMENTED [IA__gdk_window_unstick] *** [gdkwindow-
directfb.c:2057]
(!!!) *** UNIMPLEMENTED [IA__gdk_window_deiconify] *** [gdkwindow-
directfb.c:2035]
(!!!) *** UNIMPLEMENTED [IA__gdk_window_unfullscreen] *** [gdkwindow-
directfb.c:2592]
(!!!) *** UNIMPLEMENTED [IA__gdk_window_set_keep_above] ***
[gdkwindow-directfb.c:2600]
(!!!) *** UNIMPLEMENTED [IA__gdk_window_set_keep_below] ***
[gdkwindow-directfb.c:2608]

** (gtk-demo:440): WARNING **: Cannot find demo data file
"appwindow.c"
(!!!) *** UNIMPLEMENTED [IA__gdk_window_configure_finished] ***
[gdkwindow-directfb.c:2620]


when i try pango-querymodules > '/root/usr/cpusr/moz/etc/pango/
pango.modules'
i get -bash: pango-querymodules: command not found . would someone
help me with this issue please .

yangy...@gmail.com

unread,
Dec 12, 2008, 4:30:16 PM12/12/08
to

I had the similiar problem.
1. You should copy the directory /usr/share/fonts of your host machine
to /usr/share of your target machine. Otherwise your target can't find
fonts or your fonts are not installed in your target.
2. Your target can't find the module. So you should check the path. In
my case, the path was mounted to the target and I made a logial path
so that it looks the same as that of the host.

Hope they help you out.
Yang

> page and onhttp://fontconfig.org


> Error reading Pango modules file
>
> (gtk-demo:440): Pango-CRITICAL **: No modules found:
> No builtin or dynamically loaded modules were found.
> PangoFc will not work correctly.
> This probably means there was an error in the creation of:
>   '/root/usr/cpusr/moz/etc/pango/pango.modules'
> You should create this file by running:
>   pango-querymodules > '/root/usr/cpusr/moz/etc/pango/pango.modules'
>
> (gtk-demo:440): Pango-WARNING **: failed to find shape engine, expect
> ugly output. engine-type='PangoRenderFc', script='lati'
>
> (gtk-demo:440): Pango-CRITICAL **: 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 onhttp://fontconfig.org

0 new messages