Re: Pango-warning



On Fri, 2007-06-15 at 01:22 -0400, Jeevan wrote:
> Hi,
> Here I am trying to run a simple Gtk+ program, I am getting error as
> follows:
> Can you plz give me suggestion..


First, helps if you attach the test program when you are asking for
help.

Next, gtk-devel-list is not the right list for such question.  gtk-list
and/or gtk-app-devel-list is.

Last, the first warning is already telling you what your problem is.
Read it.

behdad

> *****************************************************8
> linux:~ # gcc base.c -o base `pkg-config --cflags --libs gtk+-2.0`
> linux:~ # ./base
> 
> (base:4262): 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:
>   '/usr/local/etc/pango/pango.modules'
> You should create this file by running pango-querymodules.
> 
> (base:4262): Pango-WARNING **: pango_shape called with bad font, expect ugly
> output
> 
> (base:4262): Pango-WARNING **: pango_font_get_glyph_extents called with null
> font argument, expect ugly output
> 
> (base:4262): Pango-CRITICAL **: pango_cairo_show_glyph_string: assertion
> `PANGO_IS_CAIRO_FONT (font)' failed
> 
> (base:4262): Pango-CRITICAL **: pango_cairo_show_glyph_string: assertion
> `PANGO_IS_CAIRO_FONT (font)' failed
> 
> (base:4262): Pango-CRITICAL **: pango_cairo_show_glyph_string: assertion
> `PANGO_IS_CAIRO_FONT (font)' failed
> 
> (base:4262): Pango-CRITICAL **: pango_cairo_show_glyph_string: assertion
> `PANGO_IS_CAIRO_FONT (font)' failed
> 
> (base:4262): Pango-CRITICAL **: pango_cairo_show_glyph_string: assertion
> `PANGO_IS_CAIRO_FONT (font)' failed
> 
> (base:4262): Pango-CRITICAL **: pango_cairo_show_glyph_string: assertion
> `PANGO_IS_CAIRO_FONT (font)' failed
> 
> (base:4262): Pango-CRITICAL **: pango_cairo_show_glyph_string: assertion
> `PANGO_IS_CAIRO_FONT (font)' failed
> 
> (base:4262): Pango-CRITICAL **: pango_cairo_show_glyph_string: assertion
> `PANGO_IS_CAIRO_FONT (font)' failed
> 
> (base:4262): Pango-CRITICAL **: pango_cairo_show_glyph_string: assertion
> `PANGO_IS_CAIRO_FONT (font)' failed
> Hello World
> **************************************************************
>  
> 
> Thank you very much.,
> 
> 
> Thanks &  Regards
> Jivan
-- 
behdad
http://behdad.org/

"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759






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