GNOME Bugzilla – Bug 121069
Gimp crashes when selecting webdings font
Last modified: 2004-12-22 21:47:04 UTC
Description of Problem: When selecting ms-webdings font in the texttool gimp crashes with following message: ** (gimp-1.3:1398): WARNING **: Unable to load unicode charmap from font file /usr/X11R6/lib/X11/fonts/TTF/wingding.ttf ** (gimp-1.3:1398): WARNING **: Unable to open font file /usr/X11R6/lib/X11/fonts/TTF/wingding.ttf for font Wingdings 18, falling back to /usr/X11R6/lib/X11/fonts/TTF/webdings.ttf ** (gimp-1.3:1398): WARNING **: Unable to load unicode charmap from file /usr/X11R6/lib/X11/fonts/TTF/webdings.ttf, exiting (script-fu:1553): LibGimpBase-WARNING **: script-fu: wire_read(): error Steps to reproduce the problem: 1. open texttool 2. select webdings font 3. see the crash Actual Results: crash Expected Results: no crash as with the gtk2 font dialog of xfce4 or with qt apps. How often does this happen? ever Additional Information:
Definitely doesn't crash for me. What versions of PangoFT2 and FreeType2 are you using?
I can reproduce it with freetype 2.1.4 or 2.1.5 from cvs and pango 1.2.3 or 1.2.5.
Hmm, what version of fontconfig? Sorry, that I forgot to ask this in the first reply. The fact that WebDings cannot be used is due to a missing Unicode character table (see bug #101856) in the font file. However this should not cause GIMP to crash. If possible, could you please run gimp in gdb and provide a stack-trace.
It seems Pango chooses a non-working fallback font here. When it figures out that the fallback font doesn't work, it exits. Will reassign this report to Pango.
This looks like a broken font configuration. It looks to me that possibly the only fonts on the system are fonts without Unicode character maps. What do you think Pango should be doing here, Sven?
I think it should try not to exit. We could attempt to create an empty font (or one that has just a single glyph) as a fallback.
Could the reporter please provide the output of fc-list ? And please make sure that the problem is reproducable with that font configuration.
Resolving as a duplicate of the "ship a font with Pango to deal with impossibly broken configs" bug. *** This bug has been marked as a duplicate of 86150 ***