Re: Pango error while executing gtk-demo



Hello,
         I recompiled Pango as it was not taking Cairo font backends.
Now it is solved.



On 9/27/07, David Nečas (Yeti) <yeti physics muni cz> wrote:
>
> Please don't cross-post.
>
> On Thu, Sep 27, 2007 at 04:55:44PM +0530, Prashant J Zaveri wrote:
> > I have cross-compiled Xfbdev for ARM9 core and running it on a
> > board powered by Freescale's i.MX21 processor running on Kernel
> > Vanilla 2.6.22 with a few board-specific patches.
> >
> > I am able to run sample X program using matchbox-window-manager on it.
> >
> > I have also cross compiled Cairo 1.4.10, Pango 1.17.5,
>
> Why an unstable version?
>
> > Glib 2.14.0,
> > Gtk 2.10.14 and ported on it.
> >
> > While executing "gtk-demo" program on board, It gives  me following error :
> >
> > Pango-ERROR **: file pangocairo-fontmap.c: line 101
> > (pango_cairo_font_map_new): should not be reached aborting...
> >
> > What could be the reason for this ?
>
> The relevant code is
>
>   PangoFontMap *
>   pango_cairo_font_map_new (void)
>   {
>     /* Make sure that the type system is initialized */
>     g_type_init ();
>
>   #if defined(HAVE_CAIRO_ATSUI)
>     return g_object_new (PANGO_TYPE_CAIRO_ATSUI_FONT_MAP, NULL);
>   #elif defined(HAVE_CAIRO_WIN32)
>     return g_object_new (PANGO_TYPE_CAIRO_WIN32_FONT_MAP, NULL);
>   #elif defined(HAVE_CAIRO_FREETYPE)
>     return g_object_new (PANGO_TYPE_CAIRO_FC_FONT_MAP, NULL);
>   #else
>     g_assert_not_reached ();
>     return NULL;
>   #endif
>   }
>
> which means you do not have any of the font backends
> compiled in.
>
> Yeti
>
> --
> http://gwyddion.net/
> _______________________________________________
> gtk-i18n-list mailing list
> gtk-i18n-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-i18n-list
>


-- 
Thanks
Prashant


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]