How to fix pango fonts problems

I recently updated my Mandrake Linux machine and got errors like this one when starting a GTK application:


(gnome_segv:24830): Pango-CRITICAL **: _pango_engine_shape_shape: assertion `PANGO_IS_FONT (font)' failed

The net result is that all GTK-based applications (Firefox, Gnumeric, Gimp, and so on) are broken.

To fix this, log in as root, and type


/usr/bin/pango-querymodules-32 > /etc/pango/i386/pango.modules

You might want to check that pango.modules is indeeed in “/etc/pango/i386”.

Published by

Daniel Lemire

A computer science professor at the University of Quebec (TELUQ).

One thought on “How to fix pango fonts problems”

Leave a Reply

Your email address will not be published. Required fields are marked *

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax