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

Re: Bug#175117: gnumeric doesn't start: "gp-fontmap.c: line 793 (gp_font_entry_unref): should not be reached"



reassign 175117 libgnomeprint2-0
retitle libgnomeprint2-0 incompatible with fontconfig (breaks gnumeric, gedit)
thanks

I found the following patch with google:

http://lists.ximian.com/archives/public/gnome-print/2002-October/001074.html

which adds a new case into the switch where gnumeric dies.
+       case GP_FONT_ENTRY_TRUETYPE:
+           tt = (GPFontEntryTT *) entry;
+           if (tt->ttf.name) g_free (tt->ttf.name);
+           break;
i guess this is the patch we need, and the problems are due to fontconfig.

Seems to me like gnumeric somehow (from gtk?) recieves a "fontconfig
font" - but this version of libgnomeprint can't handle them.

In fact: when i enter the settings dialog of gedit:
GnomePrint-ERROR **: file gp-fontmap.c: line 793 (gp_font_entry_unref):
should not be reached
aborting...
which is the same error again.

I guess other applications depending on libgnomeprint2-0 might be affected
as well.

Greetings,
Erich Schubert
-- 
        erich@(vitavonni.de|debian.org)     --     GPG Key ID: 4B3A135C
         There was never a good war or a bad peace. - Benjamin Franklin
                    Der Wissende weiß, dass er glauben muß.



Reply to: