After much struggle with freetype problems I have inkscape appearing to work apart from nothing in the font dialog and nothing when I type text. Here is the error:
mellor@...189...:~$ inkscape
** (inkscape:10799): CRITICAL **: file pango-fontmap.c: line 102 (pango_font_map_list_families): assertion `fontmap != NULL' failed
** (inkscape:10799): CRITICAL **: file pango-fontmap.c: line 83 (pango_font_map_load_font): assertion `fontmap != NULL' failed
** (inkscape:10799): CRITICAL **: file pango-fontmap.c: line 83 (pango_font_map_load_font): assertion `fontmap != NULL' failed
I cannot find the file pango-fontmap.c. Sodipodi appears to use gnome-fontface.c for the fonts. I have pango installed, but I have a vague feeling this might be a gtk2 problem. I am using gtk+2-2.2.4 in Slackware 9.1. Can anyone help please?
I solved this. It is related to the earlier problem I had with freetype. I do not know how it came about but in case anyone is interested I had to change a line in a pango file from #include <freetype/freetype.h> to #include <ft2build.h> #include FT_FREETYPE_H
I then recompiled inkscape and all is well.
Please do not ask me why, I discovered it in a thread about difficulty installing fontconfig. When I get a minute I will ask the man who produced the solution. I can now also compile katoob which had the same problem with freetype, but why it suddenly cropped up I do not know. I cannot remember upgrading pango or anything.
On 15/8/2004, "John Mellor" <John@...188...> wrote:
After much struggle with freetype problems I have inkscape appearing to work apart from nothing in the font dialog and nothing when I type text. Here is the error:
mellor@...189...:~$ inkscape
** (inkscape:10799): CRITICAL **: file pango-fontmap.c: line 102 (pango_font_map_list_families): assertion `fontmap != NULL' failed
** (inkscape:10799): CRITICAL **: file pango-fontmap.c: line 83 (pango_font_map_load_font): assertion `fontmap != NULL' failed
** (inkscape:10799): CRITICAL **: file pango-fontmap.c: line 83 (pango_font_map_load_font): assertion `fontmap != NULL' failed
I cannot find the file pango-fontmap.c. Sodipodi appears to use gnome-fontface.c for the fonts. I have pango installed, but I have a vague feeling this might be a gtk2 problem. I am using gtk+2-2.2.4 in Slackware 9.1. Can anyone help please?
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user
participants (1)
-
John Mellor